removed call to std::signbit #761

This commit is contained in:
Niels Lohmann 2017-10-01 15:48:29 +02:00
parent 8af49d4be5
commit 1df836ce40
No known key found for this signature in database
GPG key ID: 7F3CEA63AE251B69

View file

@ -6660,7 +6660,7 @@ class serializer
return;
}
const auto is_negative = std::signbit(x);
const bool is_negative = x < 0;
std::size_t i = 0;
// spare 1 byte for '\0'