summaryrefslogtreecommitdiffhomepage
path: root/src/numeric.c
diff options
context:
space:
mode:
authorcremno <[email protected]>2016-05-10 19:07:57 +0200
committercremno <[email protected]>2016-05-10 19:10:49 +0200
commit6369374f79e01e099439c961fb22a05080f39d3d (patch)
tree87d1bd9b86ce2e4649afba78a4efe32fbb40953a /src/numeric.c
parent0be4b8960e1a04ff0681847811bee4398b5664a5 (diff)
downloadmruby-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