mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
14d1ad0038
The MSVC _umul128 code path was designed for 64-bit limbs but mruby's bigint implementation uses 32-bit limbs even on 64-bit builds. This fundamental mismatch caused incorrect bigint calculations on VC 64-bit builds, producing results like "100000000000000000000" -> "1661992960". Removed the MSVC optimization to fall back to the portable double-limb arithmetic which correctly handles 32-bit limbs. Co-authored-by: Claude <noreply@anthropic.com>