libm: remove aliasing issue.

See http://code.google.com/p/android/issues/detail?id=6697
for details about this change.

Change-Id: I516f00c6f3bc99b22be51669e4573246bdd6e33d
This commit is contained in:
David 'Digit' Turner 2010-09-26 23:17:21 +02:00
parent b9e49ad56e
commit ce2ebf8d73

View File

@ -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;
}