diff options
| author | cremno <[email protected]> | 2016-05-10 19:07:57 +0200 |
|---|---|---|
| committer | cremno <[email protected]> | 2016-05-10 19:10:49 +0200 |
| commit | 6369374f79e01e099439c961fb22a05080f39d3d (patch) | |
| tree | 87d1bd9b86ce2e4649afba78a4efe32fbb40953a /src/numeric.c | |
| parent | 0be4b8960e1a04ff0681847811bee4398b5664a5 (diff) | |
| download | mruby-6369374f79e01e099439c961fb22a05080f39d3d.tar.gz mruby-6369374f79e01e099439c961fb22a05080f39d3d.zip | |
add mrb_int_mul_overflow(); close #3149
- call __builtin_mul_overflow() if it's available
- perform a 64-bit multiplication for 32-bit mrb_int (default)
- otherwise a much slower method is used
Diffstat (limited to 'src/numeric.c')
0 files changed, 0 insertions, 0 deletions
