Fix some comments in GCD.
Make ml_kem use lcm and egcd from std/math.
Fix name.
Add egcd function.
Don't destructure.
Use binary gcd and make overflow safe.
Force inlining, use ctz to reduce dependency in loop.
Avoid integer overflow for temporary value.
Add test against previous overflow capability.
More optimization friendly expression.
Fix egcd for even numbers.
Minvalue causes crash.
Remove helper function. Fix casting issues.
Use shift instead division (to support i2) and avoid overflow of temp results.
The compiler actually doesn't need any functional changes for this: Sema
does reification based on the tag indices of `std.builtin.Type` already!
So, no zig1.wasm update is necessary.
This change is necessary to disallow name clashes between fields and
decls on a type, which is a prerequisite of #9938.