C++ Logo

std-proposals

Advanced search

Re: [std-proposals] Shorter spelling for std::numeric_limits<float>::infinity()

From: Phil Endecott <std_proposals_list_at_[hidden]>
Date: Sat, 09 Mar 2024 13:34:10 +0000
Zhihao Yuan wrote:
> On Friday, March 8th, 2024 at 11:06 AM, Phil Endecott via Std-Proposals <std-proposals_at_[hidden]> wrote:
>> Why not have an infinity constant in the style of pi, e, etc.
>> in <numbers>:
>
> Are you looking for https://wg21.link/P1841 ?

Ah-ha! Yes, as usual, someone else has already proposed this!

Thanks for the link.


Regards, Phil.

Received on 2024-03-09 13:34:11