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-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
2020-11-21
Update `Float#to_s` to keep trailing zero as CRuby does; ref 68cebb6
Yukihiro "Matz" Matsumoto
2020-11-17
Detect overflow in `flo_shift()`.
Yukihiro "Matz" Matsumoto
2020-11-17
Refactor integer division.
Yukihiro "Matz" Matsumoto
2020-11-17
Simplify `mrb_num_div_int()`.
Yukihiro "Matz" Matsumoto
2020-11-14
Integer operation should result in Integer.
Yukihiro "Matz" Matsumoto
2020-11-09
Add range check before casting float to integer.
Yukihiro "Matz" Matsumoto
2020-11-06
Skip too big left shift in `flo_shift()`.
Yukihiro "Matz" Matsumoto
2020-11-06
Avoid negating `MRB_INT_MIN` which is impossible.
Yukihiro "Matz" Matsumoto
2020-10-12
Extract `div` code in VM and make them shared by `div` methods.
Yukihiro "Matz" Matsumoto
2020-10-12
Remove obsolete `MRB_WITHOUT_FLOAT` macro from `numeric.c`.
Yukihiro "Matz" Matsumoto
2020-10-12
Stop warning on 64 bit platforms.
Yukihiro "Matz" Matsumoto
2020-10-12
Handle potential overflow in `int_div` and `flo_idiv`.
Yukihiro "Matz" Matsumoto
2020-10-12
Use `mrb_int_value()` instead of `mrb_fixnum_value()`.
Yukihiro "Matz" Matsumoto
2020-10-12
Reorganize `Integer` system.
Yukihiro "Matz" Matsumoto
2020-10-12
Make division by zero cause `ZeroDivisionError`.
Yukihiro "Matz" Matsumoto
2020-10-12
Rename `MRB_TT_FIXNUM` to `MRB_TT_INTEGER`.
Yukihiro "Matz" Matsumoto
2020-10-12
Always add trailing `.0` in `Float#inspect`; ref #4225
KOBAYASHI Shuji
2020-10-12
Integrate `Fixnum` class into `Integer` class
dearblue
2020-10-12
Rename float configuration option names.
Yukihiro "Matz" Matsumoto
2020-10-12
Use functions that take symbols to reduce string litrals in C.
Yukihiro "Matz" Matsumoto
2020-10-12
Use `mrb_funcall_id()` extensively.
Yukihiro "Matz" Matsumoto
2020-10-12
Fix argument error when built with MRB_WITHOUT_FLOAT flag
ssmallkirby
2020-08-08
Return `NaN` for `0/0`; d8e060d
Yukihiro "Matz" Matsumoto
2020-08-08
Should not use `mrb_float_value()` with `MRB_WITHOUT_FLOAT`.
Yukihiro "Matz" Matsumoto
2020-08-07
Avoid `division by zero` undefined behavior.
Yukihiro "Matz" Matsumoto
2020-06-25
Remove unnecessary `break` from `numeric.c`.
Yukihiro "Matz" Matsumoto
2020-06-20
Add `mrb_get_arg1()` that retrieves single (and only) argument.
Yukihiro "Matz" Matsumoto
2020-06-03
Merge pull request #4800 from shuujii/set-MRB_STR_ASCII-flag-to-some-stringiz...
Yukihiro "Matz" Matsumoto
2020-05-07
Update `cmpnum` document.
Yukihiro "Matz" Matsumoto
2019-11-11
Fix argument specs to `Integer`
KOBAYASHI Shuji
2019-10-31
Set `MRB_STR_ASCII` flag to some stringize methods
KOBAYASHI Shuji
2019-09-26
Use type predicate macros instead of `mrb_type` if possible
KOBAYASHI Shuji
2019-09-18
Remove `mrb_get_args(mrb, "")`; ref 30f37872
KOBAYASHI Shuji
2019-09-17
Fix `Fixnum#(to_s|inspect)` argument specs
KOBAYASHI Shuji
2019-09-14
Remove `mrb_funcall` from `<=>` operations.
Yukihiro "Matz" Matsumoto
2019-09-07
Revert part of #4225
Yukihiro "Matz" Matsumoto
2019-08-06
Add `mrb_noreturn` to `cmperr()` in `src/numeric.c`
KOBAYASHI Shuji
2019-08-05
Use new specifiers/modifiers of `mrb_vfromat()`
KOBAYASHI Shuji
2019-07-31
Avoid `MRB_INT_MIN` to apply `fixdivmod`.
Yukihiro "Matz" Matsumoto
2019-07-31
Normalize floating point negative zero to positive zero in `flodivmod'.
Yukihiro "Matz" Matsumoto
2019-07-31
Should return +/- infinity for float division by zero.
Yukihiro "Matz" Matsumoto
[next]