2005-08-02 Bob Wilson <bob.wilson@acm.org>
* libm/math/ef_hypot.c (__ieee754_hypotf): Add missing exponent bias to the value for 2^126.
This commit is contained in:
parent
3d8098c0f3
commit
0c5c6c234f
|
@ -1,3 +1,8 @@
|
||||||
|
2005-08-02 Bob Wilson <bob.wilson@acm.org>
|
||||||
|
|
||||||
|
* libm/math/ef_hypot.c (__ieee754_hypotf): Add missing exponent bias
|
||||||
|
to the value for 2^126.
|
||||||
|
|
||||||
2005-07-26 Hans-Peter Nilsson <hp@bitrange.com>
|
2005-07-26 Hans-Peter Nilsson <hp@bitrange.com>
|
||||||
|
|
||||||
* libc/machine/cris/libcdtor.c (defaultors): Mark artificially as
|
* libc/machine/cris/libcdtor.c (defaultors): Mark artificially as
|
||||||
|
|
|
@ -50,7 +50,7 @@
|
||||||
if(FLT_UWORD_IS_ZERO(hb)) {
|
if(FLT_UWORD_IS_ZERO(hb)) {
|
||||||
return a;
|
return a;
|
||||||
} else if(FLT_UWORD_IS_SUBNORMAL(hb)) {
|
} else if(FLT_UWORD_IS_SUBNORMAL(hb)) {
|
||||||
SET_FLOAT_WORD(t1,0x3f000000L); /* t1=2^126 */
|
SET_FLOAT_WORD(t1,0x7e800000L); /* t1=2^126 */
|
||||||
b *= t1;
|
b *= t1;
|
||||||
a *= t1;
|
a *= t1;
|
||||||
k -= 126;
|
k -= 126;
|
||||||
|
|
Loading…
Reference in New Issue