mirror of
https://github.com/fastfloat/fast_float.git
synced 2026-01-01 03:12:18 +08:00
unfck lint
This commit is contained in:
parent
d07362c459
commit
350ad6ecac
@ -406,7 +406,7 @@ parse_number_string(UC const *p, UC const *pend,
|
||||
#else
|
||||
if ((UC('e') == *p) || (UC('E') == *p)
|
||||
#ifndef FASTFLOAT_ONLY_POSITIVE_C_NUMBER_WO_INF_NAN
|
||||
|| (UC('d') == *p) || (UC('D') == *p)
|
||||
|| (UC('d') == *p) || (UC('D') == *p)
|
||||
#endif
|
||||
) {
|
||||
++p;
|
||||
|
||||
@ -465,10 +465,8 @@ umul128_generic(uint64_t ab, uint64_t cd, uint64_t *hi) noexcept {
|
||||
|
||||
// slow emulation routine for 32-bit
|
||||
#if !defined(__MINGW64__)
|
||||
fastfloat_really_inline FASTFLOAT_CONSTEXPR14 uint64_t_umul128(uint64_t ab,
|
||||
uint64_t cd,
|
||||
uint64_t *hi)
|
||||
noexcept {
|
||||
fastfloat_really_inline FASTFLOAT_CONSTEXPR14
|
||||
uint64_t_umul128(uint64_t ab, uint64_t cd, uint64_t *hi) noexcept {
|
||||
return umul128_generic(ab, cd, hi);
|
||||
}
|
||||
#endif // !__MINGW64__
|
||||
|
||||
@ -26,9 +26,9 @@
|
||||
// compile-time tests in this file on MSVC; disable the constexpr tests when
|
||||
// compiling with MSVC (but allow them for clang/clang-cl).
|
||||
#if defined(_MSC_VER) && !defined(__clang__)
|
||||
# ifdef FASTFLOAT_CONSTEXPR_TESTS
|
||||
# undef FASTFLOAT_CONSTEXPR_TESTS
|
||||
# endif
|
||||
#ifdef FASTFLOAT_CONSTEXPR_TESTS
|
||||
#undef FASTFLOAT_CONSTEXPR_TESTS
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if FASTFLOAT_HAS_BIT_CAST
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user