mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
26ce85bd5d
Big integers have two kind of zero values: - digits in `p` array are all zeros - length `sn` is zero The old code crashed with the latter zero.
Multi-precision Integer extension for mruby
This extension uses fgmp, which is a public domain implementation of a subset of the GNU gmp library by Mark Henderson markh@wimsey.bc.ca But it's heavily modified to fit with mruby. You can get the original source code from https://github.com/deischi/fgmp.git You can read the original README for fgmp in <README-fgmp.md>