mirror of
https://github.com/fastfloat/fast_float.git
synced 2026-02-07 02:09:52 +08:00
Renaming the using for the local type.
This commit is contained in:
parent
91edc90464
commit
ba328bbf7d
@ -572,7 +572,7 @@ template <> inline constexpr binary_format<double>::equiv_uint
|
|||||||
template<typename T>
|
template<typename T>
|
||||||
fastfloat_really_inline FASTFLOAT_CONSTEXPR20
|
fastfloat_really_inline FASTFLOAT_CONSTEXPR20
|
||||||
void to_float(bool negative, adjusted_mantissa am, T &value) {
|
void to_float(bool negative, adjusted_mantissa am, T &value) {
|
||||||
using uint = typename binary_format<T>::equiv_uint;
|
using fastfloat_uint = typename binary_format<T>::equiv_uint;
|
||||||
uint word = (uint)am.mantissa;
|
uint word = (uint)am.mantissa;
|
||||||
word |= uint(am.power2) << binary_format<T>::mantissa_explicit_bits();
|
word |= uint(am.power2) << binary_format<T>::mantissa_explicit_bits();
|
||||||
word |= uint(negative) << binary_format<T>::sign_index();
|
word |= uint(negative) << binary_format<T>::sign_index();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user