summaryrefslogtreecommitdiffhomepage
path: root/mrbgems/mruby-complex/src/complex.c
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2019-05-21 16:08:02 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2019-05-21 21:08:26 +0900
commite941cf06a3e0351107d36d49d540562fdf49f9b4 (patch)
tree4afaa5277089308f7daf985c3db39047f0efcf82 /mrbgems/mruby-complex/src/complex.c
parentf6e4145ad960d9bc748f9c91fd4c5db5afeebbd0 (diff)
downloadmruby-e941cf06a3e0351107d36d49d540562fdf49f9b4.tar.gz
mruby-e941cf06a3e0351107d36d49d540562fdf49f9b4.zip
Export `mrb_int_value` that converts `mrb_float` to `Fixnum`.
Or `Float` if `mrb_float` value is too big (or too small) to fit in `mrb_int`. The `_int_` in `mrb_int_value` means `Integral` module, which represents integer-like values in mruby.
Diffstat (limited to 'mrbgems/mruby-complex/src/complex.c')
0 files changed, 0 insertions, 0 deletions