Posts Tagged ‘ math constants ’

Math Constants in C++

August 14, 2012

Some of my colleagues didn't know that you can use mathematical constants that are part of "cmath". Here is the small snippet that shows how to use PI from cmath library. Be aware that you need to write "#define _USE_MATH_DEFINES" before you include cm...

Read more »