unfck lint

This commit is contained in:
IRainman 2025-12-26 00:22:44 +03:00
parent d07362c459
commit 350ad6ecac
3 changed files with 6 additions and 8 deletions

View File

@ -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;

View File

@ -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__

View File

@ -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