From 060801994e693b73d97401c15c5e078c2cd8ccd9 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sat, 30 Sep 2000 21:38:19 +0000 Subject: Update. 2000-09-30 Franz Sirl * sysdeps/ieee754/flt-32/s_frexpf.c: Make it aliasing safe. --- sysdeps/ieee754/flt-32/s_frexpf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sysdeps/ieee754/flt-32') 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) -- cgit v1.1