RE: strtod-test.c and atof("NaN")



Is HP-UX 10.20 even still used?  That is very old. circa 1999

--David.

-----Original Message-----
From: gtk-devel-list-bounces gnome org
[mailto:gtk-devel-list-bounces gnome org] On Behalf Of Albert Chin
Sent: Tuesday, May 29, 2007 9:40 AM
To: gtk-devel-list gnome org
Subject: strtod-test.c and atof("NaN")

The HP-UX 10.20 atof() and strtod() don't parse
atof("NaN")/strtod("NaN",NULL). This is resolved in HP-UX 10.30+. So,
should strtod-test.c assume the system atof() can handle "NaN"? Or
just live with the error:
** ERROR **: file strtod-test.c: line 88: assertion failed: (isnan
(our_nan))

-- 
albert chin (china thewrittenword com)
_______________________________________________
gtk-devel-list mailing list
gtk-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-devel-list



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]