mirror of
https://github.com/bkaradzic/bx.git
synced 2026-02-18 21:13:02 +01:00
Fixed build.
This commit is contained in:
@@ -96,13 +96,13 @@ namespace bx
|
||||
|
||||
DiyFp Normalize() const
|
||||
{
|
||||
uint32_t s = uint64_cntlz(f);
|
||||
uint8_t s = countLeadingZeros(f);
|
||||
return DiyFp(f << s, e - s);
|
||||
}
|
||||
|
||||
DiyFp NormalizeBoundary() const
|
||||
{
|
||||
uint32_t index = uint64_cntlz(f);
|
||||
uint8_t index = countLeadingZeros(f);
|
||||
return DiyFp (f << index, e - index);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user