Fix signedness error
This commit is contained in:
parent
07e1d7870a
commit
0d671a2e19
@ -100,7 +100,7 @@ struct DiyFp {
|
|||||||
}
|
}
|
||||||
|
|
||||||
DiyFp Normalize() const {
|
DiyFp Normalize() const {
|
||||||
uint32_t s = RAPIDJSON_CLZLL(f);
|
int s = static_cast<int>(RAPIDJSON_CLZLL(f));
|
||||||
return DiyFp(f << s, e - s);
|
return DiyFp(f << s, e - s);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user