Does C++ have a squared operator?

Started by
20 comments, last by Bacterius 9 years, 10 months ago

There actually is ...

http://www.cplusplus.com/reference/cmath/pow/

Advertisement

That's a function, not an operator smile.png

“If I understand the standard right it is legal and safe to do this but the resulting value could be anything.”

This topic is closed to new replies.

Advertisement