aboutsummaryrefslogtreecommitdiffhomepage
path: root/demos
diff options
context:
space:
mode:
authorGravatar Antonio Sanchez <cantonios@google.com>2021-03-16 20:12:46 -0700
committerGravatar Antonio Sanchez <cantonios@google.com>2021-03-16 20:12:46 -0700
commit8dfe1029a5012774d50bfc39569e49e34d3152e0 (patch)
tree699510b229742363b7c51d416815de69affaa04a /demos
parenteb71e5db988d4a23e619ed054efd3eb751cdd026 (diff)
Augment NumTraits with min/max_exponent() again.
Replace usage of `std::numeric_limits<...>::min/max_exponent` in codebase where possible. Also replaced some other `numeric_limits` usages in affected tests with the `NumTraits` equivalent. The previous MR !443 failed for c++03 due to lack of `constexpr`. Because of this, we need to keep around the `std::numeric_limits` version in enum expressions until the switch to c++11. Fixes #2148
Diffstat (limited to 'demos')
0 files changed, 0 insertions, 0 deletions