C++ Logo

std-proposals

Advanced search

[std-proposals] D4285R0 Floating-point traits

From: Jan Schultke <janschultke_at_[hidden]>
Date: Tue, 23 Jun 2026 17:49:01 +0200
https://isocpp.org/files/papers/D4285R0.html

Hi, I've brought up the idea of having a more powerful replacement for
std::numeric_limits a while ago. I've now gotten around to drafting up a
paper. Let me know what you think of the direction.

In a nutshell, there is a lot of information that std::numeric_limits
doesn't provide, and we cannot fix that because it would break users'
specializations. Having more floating-point information would enable users
to implement a lot more things portably using the information they get from
the standard library.


Jan

Received on 2026-06-23 15:49:21