Date: Thu, 20 Mar 1997 18:05:29 +0300 (IDT) From: Eli Zaretskii To: Graham Howard Wile cc: djgpp AT delorie DOT com Subject: Re: Glitch in DJGPP's "modf" function ? In-Reply-To: <5gncte$aec@News.Dal.Ca> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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.