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



On Tue, May 29, 2007 at 10:10:33AM -0700, David Moffatt wrote:
> Is HP-UX 10.20 even still used?  That is very old. circa 1999

Probably not by many but we still have customers using it. It's not an
important system anymore though.

> --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
> _______________________________________________
> gtk-devel-list mailing list
> gtk-devel-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-devel-list
> 
> 

-- 
albert chin (china thewrittenword com)



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