I know there is a fmod function which compute the floating-point remainder of dividing x by y in C language.
And I want to implement this fmod function in F28335, but I don't know how to do.
For example:
>> x = 2*3.1415926 + 0.14527, y = 3.1415926;
>> fmod(x, y) = 0.14527
Please help me!!