Files
mruby-mruby/mrbgems/mruby-bigint
Yukihiro "Matz" Matsumoto 30f6ad314d bigint.c (mpz_get_str): stringify multiple digits at once.
Instead of dividing by 10, 10000 (32 bit) or 100000000 (64 bit), for
example (Karatsuba method?).
2022-07-15 13:45:17 +09:00
..

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>