mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
dcaf4083d5
To enable multi-precision integer support, you need to link `mruby-bigint` mrbgem. The gem itself is empty but it turns on the "bigint" support.
10 lines
523 B
Markdown
10 lines
523 B
Markdown
# 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>
|
|
|
|
## Implementation
|
|
|
|
This mrbgem is only to turn on `MRB_USE_BIGINT` flag. The implementation resides in `include/mruby/bigint.h` and `src/bigint.c`.
|