mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
Add Integer.try_convert [Feature #15211]
This commit is contained in:
parent
eee709595c
commit
301d194ee3
Notes:
git
2021-07-16 17:50:23 +09:00
6 changed files with 83 additions and 3 deletions
|
@ -77,6 +77,7 @@ VALUE rb_int_lshift(VALUE x, VALUE y);
|
|||
VALUE rb_int_div(VALUE x, VALUE y);
|
||||
int rb_int_positive_p(VALUE num);
|
||||
int rb_int_negative_p(VALUE num);
|
||||
VALUE rb_check_integer_type(VALUE);
|
||||
VALUE rb_num_pow(VALUE x, VALUE y);
|
||||
VALUE rb_float_ceil(VALUE num, int ndigits);
|
||||
VALUE rb_float_floor(VALUE x, int ndigits);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue