Date: Sat, 09 Mar 2024 01:09:43 +0000
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>:
>
>
> template <floating_point T>
>
> inline constexpr T infinity_v<T> = ...;
>
>
> inline constexpr double infinity = infinity_v<double>;
>
>
Are you looking for https://wg21.link/P1841 ?
> Why not have an infinity constant in the style of pi, e, etc.
> in <numbers>:
>
>
> template <floating_point T>
>
> inline constexpr T infinity_v<T> = ...;
>
>
> inline constexpr double infinity = infinity_v<double>;
>
>
Are you looking for https://wg21.link/P1841 ?
-- Zhihao Yuan, ID lichray The best way to predict the future is to invent it. _______________________________________________
Received on 2024-03-09 01:09:50