summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/double-conversion/ieee.h
diff options
context:
space:
mode:
authorQt Forward Merge Bot <qt_forward_merge_bot@qt-project.org>2019-10-27 01:00:50 +0200
committerQt Forward Merge Bot <qt_forward_merge_bot@qt-project.org>2019-10-27 01:00:50 +0200
commit8bcecd86fac60475a7236787b4b89460fa89d612 (patch)
tree947fc6b3b097c615e7cb2611c2df9f2fabdaac1c /src/3rdparty/double-conversion/ieee.h
parent7b3bdcbfe8a920c4c156e91324eb0b374533d42c (diff)
parentdd0cd711708f65c429f807f42456bff14404f9c0 (diff)
Merge remote-tracking branch 'origin/5.15' into dev
Diffstat (limited to 'src/3rdparty/double-conversion/ieee.h')
-rw-r--r--src/3rdparty/double-conversion/ieee.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/3rdparty/double-conversion/ieee.h b/src/3rdparty/double-conversion/ieee.h
index baaeced31c..6d23cc71cf 100644
--- a/src/3rdparty/double-conversion/ieee.h
+++ b/src/3rdparty/double-conversion/ieee.h
@@ -47,6 +47,8 @@ class Double {
static const uint64_t kHiddenBit = UINT64_2PART_C(0x00100000, 00000000);
static const int kPhysicalSignificandSize = 52; // Excludes the hidden bit.
static const int kSignificandSize = 53;
+ static const int kExponentBias = 0x3FF + kPhysicalSignificandSize;
+ static const int kMaxExponent = 0x7FF - kExponentBias;
Double() : d64_(0) {}
explicit Double(double d) : d64_(double_to_uint64(d)) {}
@@ -222,9 +224,7 @@ class Double {
}
private:
- static const int kExponentBias = 0x3FF + kPhysicalSignificandSize;
static const int kDenormalExponent = -kExponentBias + 1;
- static const int kMaxExponent = 0x7FF - kExponentBias;
static const uint64_t kInfinity = UINT64_2PART_C(0x7FF00000, 00000000);
static const uint64_t kNaN = UINT64_2PART_C(0x7FF80000, 00000000);