These pages:
http://www.cplusplus.com/reference/cmath/round/
http://www.cplusplus.com/reference/cmath/rint/
imply that these functions are part of C++11, and Visual Studio 2012 seems to support basically everything in C++11... so where the heck are the rounding functions (not to mention the other additional math functions)?!
I know all about rolling my own rounding function, but it just seems ridiculous at this point. Am I just missing something here and there's some special combination of std::
and tr1::
or another header file to get access to these?
As you say, VS2012 supports "basically everything" from C++11, but that is not the same as "everything".
These functions were added in VS2013 which, for the record, still doesn't support "everything".
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With