From 1df836ce401a33d0c38cf45860cdc1de983aab40 Mon Sep 17 00:00:00 2001
From: Niels Lohmann <mail@nlohmann.me>
Date: Sun, 1 Oct 2017 15:48:29 +0200
Subject: [PATCH] :rewind: removed call to std::signbit #761

---
 src/json.hpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/json.hpp b/src/json.hpp
index 6a6cbb85..12ae3b52 100644
--- a/src/json.hpp
+++ b/src/json.hpp
@@ -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'