strtod-test.c and atof("NaN")
- From: Albert Chin <gtk-devel-list mlists thewrittenword com>
- To: gtk-devel-list gnome org
- Subject: strtod-test.c and atof("NaN")
- Date: Tue, 29 May 2007 11:40:00 -0500
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)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]