Mail Archives: djgpp/1997/03/20/10:20:41
On 19 Mar 1997, Graham Howard Wile wrote:
> Sometimes when I use the "modf" function, the values in other
> totally unrelated variables get scrambled. Is this a glitch in DJGPP
> itself that I need to get a patch for ?
Are you linking in libm.a (do you have -lm on the link command line)?
If not, add one; if you do, delete it. libc.a and libm.a have
different implementations of this function; if the problem persists,
it is likely to be in the rest of your program.
- Raw text -