Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
9 years, 11 months ago. This question has been closed. Reason: Duplicate question
Modulus Function
I am trying to use a modulus function fmod. Here is the line of code:
theta1_mod = fmod(theta1,(2.0*PI)); Returns a value between -2PI and +2PI
I keep getting Compiler Error 308: "More than one instance of overloaded function "sqrt" matches the argument list:" in file "MPU91503dmath.h", Line: 89, Col: 1
Thanks