Files
mruby-mruby/mrbgems/mruby-bigint
Yukihiro "Matz" Matsumoto e157a84418 bigint.c (mpz_init_set_int): should avoid integer overflow.
Check MRB_INT_MIN which could overflow by negation.
2022-07-09 17:27:27 +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>