From 52999632d78f6ee8d30496e04a595ceaf9ed3ff0 Mon Sep 17 00:00:00 2001 From: marcandre Date: Mon, 21 Sep 2009 17:42:37 +0000 Subject: * ext/bigdecimal/bigdecimal.c (BigDecimal_remainder): Doc fix [ruby-core:18796] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25020 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/bigdecimal/bigdecimal.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/ext/bigdecimal/bigdecimal.c b/ext/bigdecimal/bigdecimal.c index de18b83784..97d1822e0d 100644 --- a/ext/bigdecimal/bigdecimal.c +++ b/ext/bigdecimal/bigdecimal.c @@ -1148,10 +1148,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