forked from bblanchon/ArduinoJson
Fix 9.22337e+18 outside range of representable values of type 'long'
This commit is contained in:
1 parent
c9fbc5e40a
commit
ccfbb5fd1d
6 files changed
+139
-5
No files matched your search
@@ -109,6 +109,7 @@ TEST_CASE("serialize MsgPack value") {
|
||||
|
||||
SECTION("float 32") {
|
||||
checkVariant(1.25, "\xCA\x3F\xA0\x00\x00");
|
||||
checkVariant(9.22337204e+18f, "\xca\x5f\x00\x00\x00");
|
||||
}
|
||||
|
||||
SECTION("float 64") {
|
||||
|
||||
Reference in new issue
Block a user