Fix 9.22337e18 is outside the range of representable values of 'long'

This commit is contained in:
Benoit Blanchon
2022-04-05 13:02:24 +02:00
parent 67b6797b6d
commit c65692ab31
5 changed files with 139 additions and 6 deletions

View File

@@ -2,7 +2,10 @@
# Copyright © 2014-2022, Benoit BLANCHON
# MIT License
add_executable(NumbersTests
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED OFF)
add_executable(NumbersTests
convertNumber.cpp
parseFloat.cpp
parseDouble.cpp
@@ -10,7 +13,6 @@ add_executable(NumbersTests
parseNumber.cpp
)
add_test(Numbers NumbersTests)
set_tests_properties(Numbers