From: Ulrich Drepper Date: Sat, 30 Sep 2000 21:38:19 +0000 (+0000) Subject: Update. X-Git-Tag: cvs/libc-2_1_95~33 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=060801994e693b73d97401c15c5e078c2cd8ccd9;p=platform%2Fupstream%2Fglibc.git Update. 2000-09-30 Franz Sirl * sysdeps/ieee754/flt-32/s_frexpf.c: Make it aliasing safe. --- diff --git a/ChangeLog b/ChangeLog index 179713a..648136f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2000-09-30 Franz Sirl + + * sysdeps/ieee754/flt-32/s_frexpf.c: Make it aliasing safe. + 2000-09-29 Ulrich Drepper * elf/cache.c (save_cache): Initialize __unused field in new cache diff --git a/sysdeps/ieee754/flt-32/s_frexpf.c b/sysdeps/ieee754/flt-32/s_frexpf.c index a984457..7a4eb4c 100644 --- a/sysdeps/ieee754/flt-32/s_frexpf.c +++ b/sysdeps/ieee754/flt-32/s_frexpf.c @@ -47,7 +47,7 @@ two25 = 3.3554432000e+07; /* 0x4c000000 */ } *eptr += (ix>>23)-126; hx = (hx&0x807fffff)|0x3f000000; - *(int*)&x = hx; + SET_FLOAT_WORD(x,hx); return x; } weak_alias (__frexpf, frexpf)