aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-09-30 21:38:19 +0000
committerUlrich Drepper <drepper@redhat.com>2000-09-30 21:38:19 +0000
commit060801994e693b73d97401c15c5e078c2cd8ccd9 (patch)
treef855cf6b13985548a8d993780d77d56d790259ee /sysdeps
parent3ed0dfa22af191bc854a3721f3010f8c31b11584 (diff)
downloadglibc-060801994e693b73d97401c15c5e078c2cd8ccd9.tar
glibc-060801994e693b73d97401c15c5e078c2cd8ccd9.tar.gz
glibc-060801994e693b73d97401c15c5e078c2cd8ccd9.tar.bz2
glibc-060801994e693b73d97401c15c5e078c2cd8ccd9.zip
Update.
2000-09-30 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> * sysdeps/ieee754/flt-32/s_frexpf.c: Make it aliasing safe.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/ieee754/flt-32/s_frexpf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/ieee754/flt-32/s_frexpf.c b/sysdeps/ieee754/flt-32/s_frexpf.c
index a984457a87..7a4eb4cca4 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)