diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-03-26 01:54:50 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-03-26 01:54:50 +0000 |
commit | e9dc649d66ee051747f49e2c8e7fbeb8b8923eec (patch) | |
tree | 518e5b75349cebbd72486647f7b8ef008bf05608 /internal.h | |
parent | 79b209f19ac47776e7c90b220a05775e48b43c24 (diff) | |
download | ruby-e9dc649d66ee051747f49e2c8e7fbeb8b8923eec.tar.gz |
numeric.c: rb_int_round
* numeric.c (rb_int_round): rounding function for generic
Integers.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54297 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'internal.h')
-rw-r--r-- | internal.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/internal.h b/internal.h index 3ceca669c9..e68e078e86 100644 --- a/internal.h +++ b/internal.h @@ -1013,6 +1013,7 @@ VALUE rb_int_minus(VALUE x, VALUE y); VALUE rb_int_mul(VALUE x, VALUE y); VALUE rb_int_idiv(VALUE x, VALUE y); VALUE rb_int_modulo(VALUE x, VALUE y); +VALUE rb_int_round(VALUE num, int ndigits); VALUE rb_dbl_hash(double d); VALUE rb_fix_plus(VALUE x, VALUE y); |