commit | ce2ebf8d7338095bf410259abf6874af295749d6 | [log] [tgz] |
---|---|---|
author | David 'Digit' Turner <digit@google.com> | Sun Sep 26 23:17:21 2010 +0200 |
committer | David 'Digit' Turner <digit@google.com> | Mon Sep 27 17:35:48 2010 +0200 |
tree | e335c588de033746ff3e8e08680c2062f71a787b | |
parent | b9e49ad56e5776ace7c6eab2e997d5b7acb16792 [diff] [blame] |
libm: remove aliasing issue. See http://code.google.com/p/android/issues/detail?id=6697 for details about this change. Change-Id: I516f00c6f3bc99b22be51669e4573246bdd6e33d
diff --git a/libm/src/s_frexpf.c b/libm/src/s_frexpf.c index 89d464b..c18cd54 100644 --- a/libm/src/s_frexpf.c +++ b/libm/src/s_frexpf.c
@@ -39,6 +39,6 @@ } *eptr += (ix>>23)-126; hx = (hx&0x807fffff)|0x3f000000; - *(int*)&x = hx; + SET_FLOAT_WORD(x,hx); return x; }