mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
cb298607b1
Replace expensive pow() calls with pre-computed lookup tables for powers of 10. Use integer arithmetic during parsing to avoid floating-point precision loss. Add overflow detection for large numbers while maintaining compatibility. Co-authored-by: Claude <noreply@anthropic.com>