Fixed build.

This commit is contained in:
Branimir Karadžić
2023-11-23 10:12:05 -08:00
parent 08baf8fa64
commit be3e348eb2
4 changed files with 26 additions and 27 deletions

View File

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