Yukihiro "Matz" Matsumoto
|
b6d7564846
|
numeric_ext.rb: add Integer#ceildiv.
|
2022-09-12 10:27:28 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
04ec65b87a
|
mruby-numeric-ext/numeric.rb: add reference description.
- zero?
- nonzero?
- positive?
- negative?
|
2022-07-18 15:46:47 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
56af812b98
|
mruby-numeric-ext/numeric.rb: bit predicates are implemented in Ruby now.
|
2022-07-18 12:59:10 +09:00 |
|
KOBAYASHI Shuji
|
c5c39f585b
|
Move Integral#(zero|nonzero|positive|negative)? to Numeric
Because these methods work if object is `Comparable`, and `Numeric` is
`Comparable`.
|
2019-05-17 21:13:31 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
223defd62a
|
Move Numeric#div to the core.
|
2019-05-17 11:26:16 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
b5dfbce767
|
Add Numeric#{positive?,negative?}; CRuby2.3
|
2017-10-18 10:10:37 +09:00 |
|
takahashim
|
40a9700ef8
|
support Numeric#zero? and Numeric#nonzero?
|
2015-11-20 23:39:45 +09:00 |
|
Tomoyuki Sahara
|
4ad0896bda
|
add Integer#div and Float#div.
|
2014-03-04 12:45:11 +09:00 |
|