Not planned
Description
Lines 5065 to 5067 in 384d36a
To me this implies existence of a unique maximum representable value of float
float
values are not totally ordered, NaN
is not comparable with anything
In terms of partial orders both +inf
and all NaN
values would be considered maximal elements
Same thought is applicable to other floating-point types, and to minimum instead of maximum
I feel that a person that is not familiar with IEEE-754 could come to wrong conclusions regarding floating-point types
I don't think a deep elaboration is needed or necessary
A simple finite
word addition could be sufficient, would match max()
behaviour of std::numeric_limits
Activity
jensmaurer commentedon Jul 6, 2023
This is a note, and the mentioned facilities do allow to query for NaNs as well as infinities and finite min/max values, so I'm not seeing anything wrong here. We don't mention a
max
facility in particular.jwakely commentedon Jul 6, 2023
And adding "finite" wouldn't make sense for the integral types. I don't think anything needs to change here.
jwakely commentedon Jul 6, 2023
Specifically, I don't think anybody is drawing conclusions about floating point types from this piece of wording.