2002-11-12 Jeff Johnston <jjohnstn@redhat.com>
* libc/stdlib/ldtoa.c (e64toe): When checking the exponent for inf/nan, make sure that the check ignores the sign bit.
This commit is contained in:
parent
6ac7b97610
commit
944772c70a
|
@ -1,3 +1,8 @@
|
|||
2002-11-12 Jeff Johnston <jjohnstn@redhat.com>
|
||||
|
||||
* libc/stdlib/ldtoa.c (e64toe): When checking the exponent
|
||||
for inf/nan, make sure that the check ignores the sign bit.
|
||||
|
||||
2002-11-07 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
* libc/sys/rtems/machine: New directory.
|
||||
|
|
|
@ -1859,7 +1859,7 @@ if((yy[NE-1] & 0x7fff) == 0 && (yy[NE-2] & 0x8000) == 0)
|
|||
#ifdef INFINITY
|
||||
/* Point to the exponent field. */
|
||||
p = &yy[NE-1];
|
||||
if( *p == 0x7fff )
|
||||
if( (*p & 0x7fff) == 0x7fff )
|
||||
{
|
||||
#ifdef NANS
|
||||
#ifdef IBMPC
|
||||
|
|
Loading…
Reference in New Issue