Skip to content

Commit

Permalink
* ext/bigdecimal/bigdecimal.c (BigDecimal_remainder): Doc fix [ruby-c…
Browse files Browse the repository at this point in the history
…ore:18796]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25020 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
marcandre committed Sep 21, 2009
1 parent ae86e15 commit 5299963
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions ext/bigdecimal/bigdecimal.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 5299963

Please sign in to comment.