OSDN Git Service
(root)
/
android-x86
/
bionic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b9e49ad
)
libm: remove aliasing issue.
author
David 'Digit' Turner
<digit@google.com>
Sun, 26 Sep 2010 21:17:21 +0000
(23:17 +0200)
committer
David 'Digit' Turner
<digit@google.com>
Mon, 27 Sep 2010 15:35:48 +0000
(17:35 +0200)
See http://code.google.com/p/android/issues/detail?id=6697
for details about this change.
Change-Id: I516f00c6f3bc99b22be51669e4573246bdd6e33d
libm/src/s_frexpf.c
patch
|
blob
|
history
diff --git
a/libm/src/s_frexpf.c
b/libm/src/s_frexpf.c
index
89d464b
..
c18cd54
100644
(file)
--- 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;
}