* Is there a way to detect Infinity?
@ 2003-01-30 0:24 Abhijit Tamhane
2003-01-30 1:48 ` Ben Davis
0 siblings, 1 reply; 2+ messages in thread
From: Abhijit Tamhane @ 2003-01-30 0:24 UTC (permalink / raw)
To: gcc-help
Hi,
Earlier, on gcc2.95, I was using the finite() function call to detect
infinity. But that does not work on gcc3.2.
Has the function been relocated? Or what is the new call?
Thanks,
Abhijit.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Is there a way to detect Infinity?
2003-01-30 0:24 Is there a way to detect Infinity? Abhijit Tamhane
@ 2003-01-30 1:48 ` Ben Davis
0 siblings, 0 replies; 2+ messages in thread
From: Ben Davis @ 2003-01-30 1:48 UTC (permalink / raw)
To: gcc-help
> Earlier, on gcc2.95, I was using the finite() function call to detect
> infinity. But that does not work on gcc3.2.
> Has the function been relocated? Or what is the new call?
Make sure you're #including <math.h>, and try linking with -lm if you aren't
already doing so. Otherwise I dunno.
Ben
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-01-30 1:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-30 0:24 Is there a way to detect Infinity? Abhijit Tamhane
2003-01-30 1:48 ` Ben Davis
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).