mirror of
https://github.com/fastfloat/fast_float.git
synced 2026-09-16 07:32:22 +08:00
lint unfck
This commit is contained in:
parent
33bf1b3dbd
commit
67a98b00ca
@ -217,7 +217,7 @@ fastfloat_really_inline FASTFLOAT_CONSTEXPR20 bool
|
||||
is_truncated(span<UC const> s) noexcept {
|
||||
return is_truncated(s.ptr, s.ptr + s.len());
|
||||
}
|
||||
#ifdef FASTFLOAT_64BIT_LIMB && FASTFLOAT_X86_SIMD >= 31
|
||||
#ifdef FASTFLOAT_64BIT_LIMB &&FASTFLOAT_X86_SIMD >= 31
|
||||
fastfloat_really_inline FASTFLOAT_CONSTEXPR20 void
|
||||
parse_sixteen_digits(char const *&p, limb &value, am_digits &counter,
|
||||
am_digits &count) noexcept {
|
||||
|
||||
@ -256,7 +256,8 @@ clinger_fast_path_impl(am_mant_t const mantissa, am_pow_t const exponent,
|
||||
return true;
|
||||
}
|
||||
#endif
|
||||
value = static_cast<T>(mantissa) * binary_format<T>::exact_power_of_ten(exponent);
|
||||
value = static_cast<T>(mantissa) *
|
||||
binary_format<T>::exact_power_of_ten(exponent);
|
||||
#ifndef FASTFLOAT_ONLY_POSITIVE_C_NUMBER_WO_INF_NAN
|
||||
if (is_negative) {
|
||||
value = -value;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user