Files
amethyst/quartz
Claude f1d7125fac feat: 4×64-bit migration — U256 and FieldP pass all tests, ScalarN has reduceWide bug
Major progress on the LongArray(4) representation:
- U256.kt: all 25 tests pass (mulWide, sqrWide, serialization, bit ops)
- FieldP.kt: all 27 tests pass (add, sub, mul, sqr, half, inv, sqrt)
- ScalarN.kt: 17 of 19 tests pass — reduceWide has a bug for products
  near n² (invMulIsOne and mulLargeScalars fail)
- Glv.kt: rewritten cleanly with correct 4-limb constants
- All test files updated for LongArray types and 4-element arrays

The reduceWide bug is in the overflow handling of the second round
hi×N_COMPLEMENT folding — needs careful unsigned Long carry tracking.

https://claude.ai/code/session_01BhU63WUe9AhikZxRdw3Lpg
2026-04-06 02:01:17 +00:00
..
2026-04-01 15:45:46 -04:00