9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] Inf isInf, NaN, isNaN
@ 2004-03-05 13:04 David Tolpin
  2004-03-05 14:43 ` Charles Forsyth
  0 siblings, 1 reply; 5+ messages in thread
From: David Tolpin @ 2004-03-05 13:04 UTC (permalink / raw)
  To: 9fans

Hi,

ape/math.h defines Inf, isInf, NaN, isNaN; but I cannot find them
in either ISO C standard, or my POSIX reference. Inf results in
a name conflict with an otherwise POSIX compliant source.

Instead, ISO/IEC 9989:1999 (The ISO C Standard) defines

isinf() and  isnan() macros, which are absent from the library.

David Tolpin


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2004-03-05 19:26 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-05 13:04 [9fans] Inf isInf, NaN, isNaN David Tolpin
2004-03-05 14:43 ` Charles Forsyth
2004-03-05 14:47   ` David Tolpin
2004-03-05 17:13     ` David Tolpin
2004-03-05 19:26       ` David Presotto

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 NNTP newsgroup(s).