C++ Logo

std-proposals

Advanced search

Re: [std-proposals] Modular integers

From: Thiago Macieira <thiago_at_[hidden]>
Date: Tue, 13 Jan 2026 13:28:26 -0800
On Tuesday, 13 January 2026 13:22:53 Pacific Standard Time Thiago Macieira via
Std-Proposals wrote:
> Why *must* it use a loop?
>
> I don't see one here https://clang.godbolt.org/z/5KcPbT559.

Oops, I didn't scroll down far enough. There is a loop in that.

But the question remains: why *must* it use a loop if Hans has an algorithm
(presumed correct) that doesn't need a loop?

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
  Principal Engineer - Intel Data Center - Platform & Sys. Eng.

Received on 2026-01-13 21:28:30