index
:
mruby
master
mruby2-draft
removing-y-tab-c
revert-5391-throw
stable
web_export
Lightweight Ruby
realtradam
summary
refs
log
tree
commit
diff
homepage
log msg
author
committer
range
path:
root
/
src
/
numeric.c
Age
Commit message (
Expand
)
Author
2021-12-31
numeric.c: merge `mrb_as_float` implementation to `mrb_ensure_float_type`.
Yukihiro "Matz" Matsumoto
2021-12-31
numeric.c: `mrb_as_float` should not call `to_f` for generic objects.
Yukihiro "Matz" Matsumoto
2021-09-06
numeric.c: shortcut overflowing operation when `ndigit` is too small.
Yukihiro "Matz" Matsumoto
2021-08-23
numeric.c: fix: `-0.0.abs` returned `-0.0`.
Yukihiro "Matz" Matsumoto
2021-08-21
Organize the include of header files
dearblue
2021-08-06
numeric.c: fix a bug regarding `MRB_INT_MIN`.
Yukihiro "Matz" Matsumoto
2021-08-04
numeric.c: fix a bug in left shift of negative integer.
Yukihiro "Matz" Matsumoto
2021-08-03
numeric.c: check zero division before modulo.
Yukihiro "Matz" Matsumoto
2021-08-03
Revert "numeric.c: simplifies `int_mod` definition."
Yukihiro "Matz" Matsumoto
2021-08-03
numeric.c: simplifies `int_mod` definition.
Yukihiro "Matz" Matsumoto
2021-08-03
Replace `mrb_fixnum_value()` with `mrb_int_value()`.
Yukihiro "Matz" Matsumoto
2021-08-03
Replace `fixnum` references with `int`.
Yukihiro "Matz" Matsumoto
2021-08-03
numeric.c: rename `fixdivmod` to `intdivmod`.
Yukihiro "Matz" Matsumoto
2021-08-02
numeric.c: simpler integer modulo calculation.
Yukihiro "Matz" Matsumoto
2021-08-02
numeric.c: use C's modulo operator if both operands are positive.
Yukihiro "Matz" Matsumoto
2021-08-02
numeric.c: refactor integer bit shift operations.
Yukihiro "Matz" Matsumoto
2021-07-25
Remove redundant include headers.
Yukihiro "Matz" Matsumoto
2021-07-10
numeric.c: `self` should always be an integer in `__coerce_step_counter`.
Yukihiro "Matz" Matsumoto
2021-07-10
Update internal methods not to be listed in backtraces.
Yukihiro "Matz" Matsumoto
2021-06-21
numeric.c: add optional `ndigits` argument to rounding methods.
Yukihiro "Matz" Matsumoto
2021-06-15
numeric.c: restore `fmt` argument for backward compatibility.
Yukihiro "Matz" Matsumoto
2021-05-31
numeric.c: fixed a silly bug related to pointer decrement.
Yukihiro "Matz" Matsumoto
2021-05-30
numeric.c: introduce `mrb_int_to_cstr()` to dump `mrb_int`.
Yukihiro "Matz" Matsumoto
2021-05-26
fmt_fp.c: move mruby specific `mrb_float_to_str` to `numeric.c`
Yukihiro "Matz" Matsumoto
2021-05-21
fmt_fp.c: remove `fmt` argument from `mrb_float_to_str()`.
Yukihiro "Matz" Matsumoto
2021-05-17
Global renaming regarding `integer` and `float`.
Yukihiro "Matz" Matsumoto
2021-05-17
Rename `mrb_fixnum_to_str` to `mrb_integer_to_str`.
Yukihiro "Matz" Matsumoto
2021-05-17
Rename `mrb_flo_to_fixnum` to `mrb_float_to_integer`.
Yukihiro "Matz" Matsumoto
2021-04-24
numeric.c: remove duplicated definitions; #5421
Yukihiro "Matz" Matsumoto
2021-04-24
numeric.c: fix errors from `MRB_NO_FLOAT`; close #5421
Yukihiro "Matz" Matsumoto
2021-04-21
numeric.c: update error messages in `int_pow`; ref #5420
Yukihiro "Matz" Matsumoto
2021-04-21
numeric.c: fix `int_pow` to detect integer overflow; fix #5420
Yukihiro "Matz" Matsumoto
2021-04-16
feat(CI): add the GitHub Super Linter
John Bampton
2021-03-28
numeric.c: function renaming.
Yukihiro "Matz" Matsumoto
2021-03-19
complex.c: overhaul complex operators.
Yukihiro "Matz" Matsumoto
2021-03-19
rational.c: overhaul rational operators.
Yukihiro "Matz" Matsumoto
2021-03-19
numeric.c: avoid integer overflow; close #5384
Yukihiro "Matz" Matsumoto
2021-03-19
`Float#divmod` with zero should cause `ZeroDivisionError`; #5384
Yukihiro "Matz" Matsumoto
2021-03-18
`Float::NAN/0` should be `Float::NAN`; ref a0b3378b3
KOBAYASHI Shuji
2021-03-18
numeric.c: float zero division should be infinity with sign kept; fix #5382
Yukihiro "Matz" Matsumoto
2021-03-07
bug(presym): Fix mrb_cmp declaration of <=> symbol for funcall
Ryan Lopopolo
2021-01-26
Revert "Minimize the changes in #5277"
Yukihiro "Matz" Matsumoto
2021-01-22
Minimize the changes in #5277
Yukihiro "Matz" Matsumoto
2021-01-21
Merge branch 'avoid-including-presym.inc-in-existing-header-files' of https:/...
Yukihiro "Matz" Matsumoto
2021-01-17
Fix `int_quo` to do float division; fix #5268
Yukihiro "Matz" Matsumoto
2021-01-17
Make `mrb_to_flo()` to convert objects, not integer, not float; #5268
Yukihiro "Matz" Matsumoto
2021-01-11
Avoid including `presym.inc` in existing header files
KOBAYASHI Shuji
2020-12-24
Check integer overflow in float bit operations.
Yukihiro "Matz" Matsumoto
2020-12-15
refactor: remove trailing whitespace from C, Header, Ruby and YAML files
John Bampton
2020-11-24
Fix compiler errors from `MRB_NO_FLOAT`; #5185
Yukihiro "Matz" Matsumoto
[next]