diff options
author | Riccardo Spagni <ric@spagni.net> | 2016-09-17 09:35:49 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2016-09-17 09:35:49 +0200 |
commit | f62ebc5c811b76c05327dd56877024df60a47a9b (patch) | |
tree | 81e98c9bf5d11e1bb7e2bff81105af879d43a32a /external/rapidjson/internal/ieee754.h | |
parent | Merge pull request #1081 (diff) | |
download | monero-f62ebc5c811b76c05327dd56877024df60a47a9b.tar.xz |
update rapidjson
Diffstat (limited to 'external/rapidjson/internal/ieee754.h')
-rw-r--r-- | external/rapidjson/internal/ieee754.h | 1 |
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; } |