Skip to content

Commit

Permalink
Merge branch 'master' of github.com:bkaradzic/bx
Browse files Browse the repository at this point in the history
  • Loading branch information
bkaradzic committed Jan 26, 2017
2 parents c25b61d + d9277f9 commit 50fe012
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/dtoa.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
* License: https://github.com/bkaradzic/bx#license-bsd-2-clause
*/

#include <bx/cpu.h>
#include <bx/fpumath.h>
#include <bx/string.h>

Expand Down Expand Up @@ -109,7 +110,7 @@ namespace bx
DiyFp Normalize() const
{
#if defined(_MSC_VER) && defined(_M_AMD64)
uint32_t long index;
unsigned long index;
_BitScanReverse64(&index, f);
return DiyFp(f << (63 - index), e - (63 - index));
#elif defined(__GNUC__)
Expand All @@ -131,7 +132,7 @@ namespace bx
DiyFp NormalizeBoundary() const
{
#if defined(_MSC_VER) && defined(_M_AMD64)
uint32_t long index;
unsigned long index;
_BitScanReverse64(&index, f);
return DiyFp (f << (63 - index), e - (63 - index));
#else
Expand Down

0 comments on commit 50fe012

Please sign in to comment.