fmod problem

Trevor wenn0029@tc.umn.edu
Mon Jan 10 20:54:00 GMT 2005


sorry, that's:
#include <cmath>

Trevor wrote:

> I'm getting an odd warning with fmod(), any ideas?
>
> #include <ctime>
> //--snip--
> fmod( 2.5, 1.5);
>
>
> Results in:
> argument to `long int' from `double'
> assignment to `long int' from `double'
>
>
>



More information about the Gcc-help mailing list