From f62ebc5c811b76c05327dd56877024df60a47a9b Mon Sep 17 00:00:00 2001 From: Riccardo Spagni Date: Sat, 17 Sep 2016 09:35:49 +0200 Subject: update rapidjson --- external/rapidjson/internal/ieee754.h | 1 + 1 file changed, 1 insertion(+) (limited to 'external/rapidjson/internal/ieee754.h') diff --git a/external/rapidjson/internal/ieee754.h b/external/rapidjson/internal/ieee754.h index 6890f89e8..82bb0b99e 100644 --- a/external/rapidjson/internal/ieee754.h +++ b/external/rapidjson/internal/ieee754.h @@ -40,6 +40,7 @@ public: bool IsNan() const { return (u_ & kExponentMask) == kExponentMask && Significand() != 0; } bool IsInf() const { return (u_ & kExponentMask) == kExponentMask && Significand() == 0; } + bool IsNanOrInf() const { return (u_ & kExponentMask) == kExponentMask; } bool IsNormal() const { return (u_ & kExponentMask) != 0 || Significand() == 0; } bool IsZero() const { return (u_ & (kExponentMask | kSignificandMask)) == 0; } -- cgit v1.2.3