mirror of
https://github.com/nlohmann/json.git
synced 2026-10-12 17:37:15 +00:00
⏪ removed call to std::signbit #761
This commit is contained in:
1 file changed
+1
-1
+1
-1
@@ -6660,7 +6660,7 @@ class serializer
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
const auto is_negative = std::signbit(x);
|
const bool is_negative = x < 0;
|
||||||
std::size_t i = 0;
|
std::size_t i = 0;
|
||||||
|
|
||||||
// spare 1 byte for '\0'
|
// spare 1 byte for '\0'
|
||||||
|
|||||||
Reference in new issue
Block a user