mirror of
https://github.com/fastfloat/fast_float.git
synced 2025-12-07 01:06:48 +08:00
# clang format
This commit is contained in:
parent
097800a609
commit
384fcec12d
@ -59,9 +59,11 @@ from_chars_advanced(UC const *first, UC const *last, T &value,
|
||||
* `new` or `malloc`).
|
||||
*/
|
||||
FASTFLOAT_CONSTEXPR20 inline double
|
||||
integer_times_pow10(uint64_t const mantissa, int const decimal_exponent) noexcept;
|
||||
integer_times_pow10(uint64_t const mantissa,
|
||||
int const decimal_exponent) noexcept;
|
||||
FASTFLOAT_CONSTEXPR20 inline double
|
||||
integer_times_pow10(int64_t const mantissa, int const decimal_exponent) noexcept;
|
||||
integer_times_pow10(int64_t const mantissa,
|
||||
int const decimal_exponent) noexcept;
|
||||
|
||||
/**
|
||||
* from_chars for integer types.
|
||||
|
||||
@ -254,8 +254,7 @@ clinger_fast_path_impl(uint64_t const mantissa, int64_t const exponent,
|
||||
return true;
|
||||
}
|
||||
#endif
|
||||
value = T(mantissa) *
|
||||
binary_format<T>::exact_power_of_ten(exponent);
|
||||
value = 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