diff options
author | David 'Digit' Turner <digit@google.com> | 2010-09-26 23:17:21 +0200 |
---|---|---|
committer | David 'Digit' Turner <digit@google.com> | 2010-09-27 17:35:48 +0200 |
commit | ce2ebf8d7338095bf410259abf6874af295749d6 (patch) | |
tree | e335c588de033746ff3e8e08680c2062f71a787b | |
parent | b9e49ad56e5776ace7c6eab2e997d5b7acb16792 (diff) | |
download | bionic-ce2ebf8d7338095bf410259abf6874af295749d6.zip bionic-ce2ebf8d7338095bf410259abf6874af295749d6.tar.gz bionic-ce2ebf8d7338095bf410259abf6874af295749d6.tar.bz2 |
libm: remove aliasing issue.
See http://code.google.com/p/android/issues/detail?id=6697
for details about this change.
Change-Id: I516f00c6f3bc99b22be51669e4573246bdd6e33d
-rw-r--r-- | libm/src/s_frexpf.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ frexpf(float x, int *eptr) } *eptr += (ix>>23)-126; hx = (hx&0x807fffff)|0x3f000000; - *(int*)&x = hx; + SET_FLOAT_WORD(x,hx); return x; } |