Re:How hard can generating 1024-bit primes be?
by petters on Saturday May 04, 2024 @05:20AM
(#40256146)
With all the things the C standard lacks... I would not have expected this to be included!
Re:How hard can generating 1024-bit primes be?
by jcalvinowens on Sunday May 05, 2024 @01:08AM
(#40262411)
Neat. Maybe in ten years I'll actually be able rely on it existing in code I write!
The compiler support for that is limited, though. To let N be >128 in Clang, -fexperimental-max-bitint-width=N flag can be provided. If N>128 and _BitInt(N) is divided by something, the compiler will just crash, but +, -, * all work as expected.