mirror of
https://github.com/fastfloat/fast_float.git
synced 2026-02-07 02:09:52 +08:00
type usage fix.
This commit is contained in:
parent
dad07cc054
commit
59da568ec6
@ -73,7 +73,7 @@ constexpr fastfloat_really_inline am_pow_t power(am_pow_t const q) noexcept {
|
|||||||
// for significant digits already multiplied by 10 ** q.
|
// for significant digits already multiplied by 10 ** q.
|
||||||
template <typename binary>
|
template <typename binary>
|
||||||
fastfloat_really_inline FASTFLOAT_CONSTEXPR14 adjusted_mantissa
|
fastfloat_really_inline FASTFLOAT_CONSTEXPR14 adjusted_mantissa
|
||||||
compute_error_scaled(am_pow_t q, am_mant_t w, am_bits_t lz) noexcept {
|
compute_error_scaled(am_pow_t q, am_mant_t w, limb_t lz) noexcept {
|
||||||
auto const hilz = static_cast<am_bits_t>((w >> 63) ^ 1);
|
auto const hilz = static_cast<am_bits_t>((w >> 63) ^ 1);
|
||||||
adjusted_mantissa answer;
|
adjusted_mantissa answer;
|
||||||
answer.mantissa = w << hilz;
|
answer.mantissa = w << hilz;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user