Mathematics in vexcode

At the moment I am very confused how to do math in vexcode. What do I use to get the sine of variables? What do I use to cap variables to a min and max? What do I use to convert degrees to radians or radians to degrees? Every time I tried searching in C++ many of the std:: examples do not work in vexcode. I may be wrong though.

All the math functions should work
http://www.cplusplus.com/reference/cmath/

5 Likes

I guess I didnt need the β€œstd::”
Thank you!