I'm looking to see if there's Math in Vex C++ as ROBOTC used to have it.
I've no luck in finding "PI" and other mathematical constants and functions
what are you trying to calculate?
edit: you could just use 3.14159 as a replacement
atan(1) * 4 = pi mathematically.
The atan library is available.
You could set that to a constant in the program.
@9065_Parker what are you trying to calculate?
I'm trying to get the circumference of the wheels and such. I'm also in need of calculating absolute values of numbers and finding square roots.
@tomohaha3 I'm trying to get the circumference of the wheels and such. I'm also in need of calculating absolute values of numbers and finding square roots.
We should be supporting all standard math functions.
http://www.cplusplus.com/reference/cmath/