C++ Logo

std-proposals

Advanced search

Re: [std-proposals] ISO/IEC 60559 Classification for std::numeric_limits

From: Paul Caprioli <paul_at_[hidden]>
Date: Sat, 18 Apr 2026 21:04:43 +0000
And is it only about the format or also about the behavior of the types under common mathematical operations?
And format (as I think was mentioned) can be storage format or range of mantissa and exponent.



I don't know what "It" means. The spec does define conversion from wider floating point types and describes saturating and non-saturating modes.
So, one could perform common mathematical operations in infinite precision and then narrow the result to quarter precision. However, I don't see that described.

The spec "provides two binary interchange formats for floating point encodings."


Received on 2026-04-18 21:04:49