C++ Logo

liaison

Advanced search

Re: [wg14/wg21 liaison] Comments on P2569 *_HAS_SUBNORM==0 implies what?

From: Jonathan Wakely <cxx_at_[hidden]>
Date: Tue, 22 Mar 2022 12:17:27 +0000
On Mon, 21 Mar 2022 at 17:56, Fred J. Tydeman wrote:

> On Mon, 21 Mar 2022 16:05:56 +0000 Jonathan Wakely via Liaison wrote:
> >
> >> There should be "norm_max" for the maximum normalized number.
> >>
> >
> >That's std::numeric_limits<T>::max() in all published standards, and
> >std::finite_max<T>::value with the P1841 additions.
>
> I read both of those as the maximum finite value. I see no mention of
> normalized in either definition.
>

Yes, you're right, sorry. They correspond to {FLT,DBL,LBDL}_MAX.

FLT_NORM_MAX etc. are new in C2x, right?

Received on 2022-03-22 12:17:39