Date: Fri, 8 Aug 2025 17:02:30 +0000
No, _BitInt is a different philosophy of dealing with numbers. _BitInt is not multi-precision, it's fix precision but with support for widths larger than the CPU word size.
And the compiler would not be able to optimize code the way multi-precision does because of limitations on what the compiler can reason about.
________________________________
From: Std-Proposals <std-proposals-bounces_at_[hidden]> on behalf of Thiago Macieira via Std-Proposals <std-proposals_at_[hidden]>
Sent: Friday, August 8, 2025 6:29:25 PM
To: std-proposals_at_[hidden] <std-proposals_at_[hidden]>
Cc: Thiago Macieira <thiago_at_[hidden]>
Subject: Re: [std-proposals] Multiprecision division
On Friday, 8 August 2025 09:13:42 Pacific Daylight Time Hans Åberg via Std-
Proposals wrote:
> C++ does not have multiprecision support, and the hard part is implementing
> division
Wouldn't we get it for free when we get _BitInt support?
And the compiler would not be able to optimize code the way multi-precision does because of limitations on what the compiler can reason about.
________________________________
From: Std-Proposals <std-proposals-bounces_at_[hidden]> on behalf of Thiago Macieira via Std-Proposals <std-proposals_at_[hidden]>
Sent: Friday, August 8, 2025 6:29:25 PM
To: std-proposals_at_[hidden] <std-proposals_at_[hidden]>
Cc: Thiago Macieira <thiago_at_[hidden]>
Subject: Re: [std-proposals] Multiprecision division
On Friday, 8 August 2025 09:13:42 Pacific Daylight Time Hans Åberg via Std-
Proposals wrote:
> C++ does not have multiprecision support, and the hard part is implementing
> division
Wouldn't we get it for free when we get _BitInt support?
-- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Principal Engineer - Intel Platform & System Engineering -- Std-Proposals mailing list Std-Proposals_at_[hidden] https://lists.isocpp.org/mailman/listinfo.cgi/std-proposals
Received on 2025-08-08 17:02:35