mirror of
https://github.com/eledio-devices/thirdparty-ArduinoJson.git
synced 2025-11-01 00:38:27 +01:00
Fix 9.22337e+18 outside range of representable values of type 'long'
This commit is contained in:
@@ -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