summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid 'Digit' Turner <digit@google.com>2010-09-28 00:11:58 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2010-09-28 00:11:58 -0700
commit9df22a5a5fc57d511bfde3338806ec98d0cc334f (patch)
tree6c7f8d36467b6dbc6785cba9cd928b5f9ac45676
parentbd8d987b3c3aa6d9d00cede2cb091f00bdb42204 (diff)
parentce2ebf8d7338095bf410259abf6874af295749d6 (diff)
downloadbionic-9df22a5a5fc57d511bfde3338806ec98d0cc334f.zip
bionic-9df22a5a5fc57d511bfde3338806ec98d0cc334f.tar.gz
bionic-9df22a5a5fc57d511bfde3338806ec98d0cc334f.tar.bz2
Merge "libm: remove aliasing issue." into gingerbread
-rw-r--r--libm/src/s_frexpf.c2
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;
}