[m-rev.] for review: mercury implementation of string__format

Fergus Henderson fjh at cs.mu.OZ.AU
Tue Nov 26 00:21:18 AEDT 2002


On 25-Nov-2002, Peter Ross <pro at missioncriticalit.com> wrote:
> > In fact, why is this code using ieeefp.h at all?
> > Which system has isnan() in <ieeefp.h> but not in <math.h>?
>
> My copy of cygwin says that isnan resides in "ieeefp.h".

My copy of cygwin hasn't learned to speak for itself yet ;-)
but it has isnan() in ieeefp.h and also in math.h.

Posix 2001 agrees with C99: isnan() and isinf() are defined in <math.h>.

So I suggest we just drop the check for <ieeefp.h>.

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
The University of Melbourne         |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-reviews mailing list
post:  mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the reviews mailing list