diff options
| author | David Schultz <das@FreeBSD.org> | 2007-01-03 21:28:26 +0000 |
|---|---|---|
| committer | David Schultz <das@FreeBSD.org> | 2007-01-03 21:28:26 +0000 |
| commit | f56f1d7735de5c62a9e954280565bcaa0929be0a (patch) | |
| tree | ef63a9f9fe10f450ecb9251a894e0dd5f08e9c01 /tools/regression/lib/libc/stdio/test-scanfloat.c | |
| parent | 29d7c2fce5b574c887353ad0c6baa8c1f86d0304 (diff) | |
Notes
Diffstat (limited to 'tools/regression/lib/libc/stdio/test-scanfloat.c')
| -rw-r--r-- | tools/regression/lib/libc/stdio/test-scanfloat.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/regression/lib/libc/stdio/test-scanfloat.c b/tools/regression/lib/libc/stdio/test-scanfloat.c index 342fc734d21e..ef6faaebfe00 100644 --- a/tools/regression/lib/libc/stdio/test-scanfloat.c +++ b/tools/regression/lib/libc/stdio/test-scanfloat.c @@ -190,7 +190,15 @@ main(int argc, char *argv[]) assert(f != f); assert(d != d); assert(ld != ld); +#if 0 + /* + * POSIX says we should only generate quiet NaNs, but the gdtoa + * author convincingly argues that if you ask for a NaN format + * based on some implementation-defined string, you should get + * what you asked for, even if it's a signaling NaN. + */ assert(fetestexcept(FE_INVALID) == 0); +#endif printf("ok 2 - scanfloat\n"); |
