Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit a109d09

Browse files
committedJan 14, 2021
[Doc] Fix the comment of BigDecimal_div2 [ci skip]
1 parent 2e1dfd2 commit a109d09

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎ext/bigdecimal/bigdecimal.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1617,7 +1617,8 @@ BigDecimal_divmod(VALUE self, VALUE r)
16171617
}
16181618

16191619
/*
1620-
* See BigDecimal#quo
1620+
* Do the same manner as Float#div when n is nil.
1621+
* Do the same manner as BigDecimal#quo when n is 0.
16211622
*/
16221623
static inline VALUE
16231624
BigDecimal_div2(VALUE self, VALUE b, VALUE n)

0 commit comments

Comments
 (0)
Please sign in to comment.