aboutsummaryrefslogtreecommitdiff
path: root/external/rapidjson/internal/ieee754.h
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2016-09-17 09:35:49 +0200
committerRiccardo Spagni <ric@spagni.net>2016-09-17 09:35:49 +0200
commitf62ebc5c811b76c05327dd56877024df60a47a9b (patch)
tree81e98c9bf5d11e1bb7e2bff81105af879d43a32a /external/rapidjson/internal/ieee754.h
parentMerge pull request #1081 (diff)
downloadmonero-f62ebc5c811b76c05327dd56877024df60a47a9b.tar.xz
update rapidjson
Diffstat (limited to 'external/rapidjson/internal/ieee754.h')
-rw-r--r--external/rapidjson/internal/ieee754.h1
1 files changed, 1 insertions, 0 deletions
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; }