Skip to content

Commit

Permalink
Fix frexp for real == double targets
Browse files Browse the repository at this point in the history
  • Loading branch information
jpf91 committed Aug 23, 2013
1 parent c3fa202 commit 20a60cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion std/math.d
Expand Up @@ -1964,7 +1964,7 @@ real frexp(real value, out int exp) @trusted pure nothrow
{
ushort* vu = cast(ushort*)&value;
long* vl = cast(long*)&value;
uint ex;
int ex;
alias floatTraits!(real) F;

ex = vu[F.EXPPOS_SHORT] & F.EXPMASK;
Expand Down

0 comments on commit 20a60cf

Please sign in to comment.