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
2013-03-31
revive #to_int
Yukihiro "Matz" Matsumoto
2013-03-30
move to_i from fixnum to integer; remove reference of to_int which is not in ISO
Yukihiro "Matz" Matsumoto
2013-03-30
undef Integer#new; ref #1111
Yukihiro "Matz" Matsumoto
2013-03-29
Rename mrb_fix2str() to mrb_fixnum_to_str(). This is for naming consistency.
Masaki Muranaka
2013-03-29
Change the second argument of mrb_flo_to_str().
Masaki Muranaka
2013-03-29
Remove mrb_flt2big() as there is no bignum in the core.
Masaki Muranaka
2013-03-29
Sort include files. Some redundant includes are removed.
Masaki Muranaka
2013-03-29
Remove limits.h from numeric.h. Add limits.h to some C files.
Masaki Muranaka
2013-03-27
use new mrb_format API from mrb_raisef; its only format specifier is "%S" (st...
Yukihiro Matz Matsumoto
2013-03-24
Adjusted indent, space and tab
MATSUMOTO Ryosuke
2013-03-24
Use size_t instead of int. This is for portability.
Yukihiro Matz Matsumoto
2013-03-19
rename mrb_true_or_false_value() to mrb_bool_value()
Yukihiro Matz Matsumoto
2013-03-19
Use mrb_true_or_false_value() / in fix_equal().
Masaki Muranaka
2013-03-19
Use mrb_true_or_false_value() / in flo_finite_p().
Masaki Muranaka
2013-03-19
Use mrb_true_or_false_value() / in flo_eq().
Masaki Muranaka
2013-03-19
Use mrb_true_or_false_value() / in num_eql().
Masaki Muranaka
2013-03-18
personal style preference on function call in flo_to_s
Yukihiro Matz Matsumoto
2013-03-17
Add a new function mrb_flo_to_str(). Use it instead of sprintf() as possible.
Masaki Muranaka
2013-03-17
Add float.h. It exists even if the environment was freestanding. It has been ...
Masaki Muranaka
2013-03-16
Remove stdlib.h from mruby.h. It is for portability (care for freestanding en...
Masaki Muranaka
2013-03-05
Include stdio.h in mrbconf.h instead of C extension sources.
Masaki Muranaka
2013-03-03
Remove trailing whitespaces. This is just a cosmetic change.
Masaki Muranaka
2013-02-22
Merge pull request #872 from monaka/pr-fix-mrb_fix2str
Yukihiro "Matz" Matsumoto
2013-02-23
Cleanup shift operations.
Masaki Muranaka
2013-02-23
Fix an underlying bug. flodivmod() will be crashed in case ((y == 0) && ((div...
Masaki Muranaka
2013-02-23
Add a comment.
Masaki Muranaka
2013-02-23
Remove a comment at an unsuitable place.
Masaki Muranaka
2013-02-23
Cosmetic changes. Just added empty lines.
Masaki Muranaka
2013-02-23
Fix mrb_fix2str() to enable handling some negative values correctly. This fix...
Masaki Muranaka
2013-02-03
Prevent overflow of `Fixnum#to_s`.
Masamitsu MURASE
2012-11-17
l/rshift width as int. It was unsigned long
Yuichiro MASUI
2012-11-17
int and mrb_int should not be mixed under -DMRB_INT64; may fix #557
Yukihiro Matz Matsumoto
2012-11-04
add mrb_float_p()
Yukihiro Matz Matsumoto
2012-11-04
replace FIXNUM_P() by mrb_fixnum_p()
Yukihiro Matz Matsumoto
2012-10-27
define convert method mrb_int/mrb_float with C string
Yuichiro MASUI
2012-10-23
mrb_raisef(): new function. Same as previou version of mrb_raise().
Masaki Muranaka
2012-10-19
lshift must not assume sizeof(long) >= sizeof(mrb_int)
Yukihiro Matsumoto
2012-10-16
1.divmod(0) should not crash, but return [Inf,NaN] (CRuby incompat); close #492
Yukihiro Matsumoto
2012-09-03
zero check added to mrb_fixnum_mul as well
Yukihiro Matsumoto
2012-09-03
make Kernel#inspect not to call #to_s
Yukihiro Matsumoto
2012-08-01
remove stupid debug print
Yukihiro Matsumoto
2012-08-01
float do not have enough precision to round if MRB_USE_FLOAT is set
Yukihiro Matsumoto
2012-07-25
Undefine new for class rather than instance.
Max Anselm
2012-07-14
Remove unnecessary header inclusion
Junji Sawada
2012-06-22
Use mrb_str_new() instead of mrb_str_new2() as possible.
Masaki Muranaka
2012-06-17
fix binary minus function of Fixnum '0'.
Masamitsu MURASE
2012-06-15
1 % 0 should return NaN; close #283
Yukihiro Matsumoto
2012-06-13
integer overflow in fixnum plus and minus
Yukihiro Matsumoto
2012-06-13
could not print 0xffffffff as an negative fixnum
Yukihiro Matsumoto
2012-06-13
float representation simplified
Yukihiro Matsumoto
[prev]
[next]