From 28d641911bd0ed97f59bbf46ba5399995afee07d Mon Sep 17 00:00:00 2001 From: marcandre Date: Mon, 21 Sep 2009 17:46:59 +0000 Subject: * numeric.c: Fix doc for #remainder [ruby-core:18796] * ext/bigdecimal/bigdecimal.c: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25021 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/bigdecimal/bigdecimal.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'ext') diff --git a/ext/bigdecimal/bigdecimal.c b/ext/bigdecimal/bigdecimal.c index 2de82b518e..cbb70d3008 100644 --- a/ext/bigdecimal/bigdecimal.c +++ b/ext/bigdecimal/bigdecimal.c @@ -1069,10 +1069,7 @@ BigDecimal_divremain(VALUE self, VALUE r, Real **dv, Real **rv) /* Returns the remainder from dividing by the value. * - * If the values divided are of the same sign, the remainder is the same as - * the modulus (see divmod). - * - * Otherwise, the remainder is the modulus minus the value divided by. + * x.remainder(y) means x-y*(x/y).truncate. */ static VALUE BigDecimal_remainder(VALUE self, VALUE r) /* remainder */ -- cgit v1.2.3