This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: nextafter and forced rounding
- From: Ulrich Drepper <drepper at redhat dot com>
- To: Richard Henderson <rth at twiddle dot net>
- Cc: libc-alpha at sources dot redhat dot com
- Date: Fri, 06 Aug 2004 11:31:00 -0700
- Subject: Re: nextafter and forced rounding
- Organization: Red Hat, Inc.
- References: <20040806081305.GA20996@twiddle.net>
I'm seeing this on x86 in test-float:
testing float (without inline functions)
Failure: Test: nextafter (0, -1) == -fltmin
Result:
is: -1.40129846432481707092e-45 -0x1.00000000000000000000p-149
should be: -1.40129846432481707092e-45 -0x1.00000000000000000000p-149
difference: 0.00000000000000000000e+00 0x0.00000000000000000000p+0
ulp : nan
max.ulp : 0.0000
Failure: nextafter_uf (fltmin) == 0: Exception "Invalid operation" set
Failure: Test: nexttoward (0, -1) == -fltmin
Result:
is: -1.40129846432481707092e-45 -0x1.00000000000000000000p-149
should be: -1.40129846432481707092e-45 -0x1.00000000000000000000p-149
difference: 0.00000000000000000000e+00 0x0.00000000000000000000p+0
ulp : nan
max.ulp : 0.0000
Failure: nextafter_uf (fltmin) == 0: Exception "Invalid operation" set
Test suite completed:
2566 test cases plus 2355 tests for exception flags executed.
4 errors occurred.
--
â Ulrich Drepper â Red Hat, Inc. â 444 Castro St â Mountain View, CA â