about summary refs log tree commit diff
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
parent3ed0dfa22af191bc854a3721f3010f8c31b11584 (diff)
downloadglibc-060801994e693b73d97401c15c5e078c2cd8ccd9.tar.gz
glibc-060801994e693b73d97401c15c5e078c2cd8ccd9.tar.xz
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.
-rw-r--r--ChangeLog4
-rw-r--r--sysdeps/ieee754/flt-32/s_frexpf.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 179713af49..648136f166 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2000-09-30  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
+
+	* sysdeps/ieee754/flt-32/s_frexpf.c: Make it aliasing safe.
+
 2000-09-29  Ulrich Drepper  <drepper@redhat.com>
 
 	* 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 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)