mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-30 00:31:08 +00:00
Update.
* sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Handle the pseudo denormal representation of LDBL_MIN. * configure.in: Correct test for pserver CVS access.
This commit is contained in:
parent
76aecea11d
commit
8cd806cfc8
@ -1,5 +1,8 @@
|
||||
2000-12-03 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
* sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Handle the
|
||||
pseudo denormal representation of LDBL_MIN.
|
||||
|
||||
* iconvdata/SJIS.irreversible: Remove unnecessary entries.
|
||||
* iconvdata/EUC-JP.irreversible: Remove unnecessary entries.
|
||||
|
||||
@ -45,7 +48,7 @@
|
||||
|
||||
2000-12-01 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
* configure.in: Correct test for pserver CVS access.cc
|
||||
* configure.in: Correct test for pserver CVS access.
|
||||
|
||||
2000-11-28 H.J. Lu <hjl@gnu.org>
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc.
|
||||
/* Copyright (C) 1995, 1996, 1997, 2000 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
@ -87,13 +87,26 @@ __mpn_extract_long_double (mp_ptr res_ptr, mp_size_t size,
|
||||
}
|
||||
*expt = LDBL_MIN_EXP - 1 - cnt;
|
||||
}
|
||||
else
|
||||
else if (res_ptr[0] != 0)
|
||||
{
|
||||
count_leading_zeros (cnt, res_ptr[0]);
|
||||
res_ptr[N - 1] = res_ptr[0] << cnt;
|
||||
res_ptr[0] = 0;
|
||||
*expt = LDBL_MIN_EXP - 1 - BITS_PER_MP_LIMB - cnt;
|
||||
}
|
||||
else
|
||||
{
|
||||
/* This is the special case of the pseudo denormal number
|
||||
with only the implicit leading bit set. The value is
|
||||
in fact a normal number and so we have to treat this
|
||||
case differently. */
|
||||
#if N == 2
|
||||
res_ptr[N - 1] = 0x80000000ul;
|
||||
#else
|
||||
res_ptr[0] = 0x8000000000000000ul;
|
||||
#endif
|
||||
*expt = LDBL_MIN_EXP - 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user