9 years, 2 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