mirror of
https://github.com/fastfloat/fast_float.git
synced 2025-12-06 16:56:57 +08:00
fixing a comment.
This commit is contained in:
parent
e8e1a01733
commit
71e0355de8
@ -115,7 +115,7 @@ adjusted_mantissa compute_float(int64_t q, uint64_t w) noexcept {
|
||||
// result should be zero
|
||||
return answer;
|
||||
}
|
||||
// next line is safe because -answer.power2 + 1 < 0
|
||||
// next line is safe because -answer.power2 + 1 < 64
|
||||
answer.mantissa >>= -answer.power2 + 1;
|
||||
// Thankfully, we can't have both "round-to-even" and subnormals because
|
||||
// "round-to-even" only occurs for powers close to 0.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user