mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/bigdecimal/bigdecimal.c (BigDecimal_IsInfinite): rdoc fix
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25700 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
c7c3ed4597
commit
aaee331c7f
1 changed files with 4 additions and 2 deletions
|
@ -506,7 +506,9 @@ BigDecimal_IsNaN(VALUE self)
|
|||
return Qfalse;
|
||||
}
|
||||
|
||||
/* Returns True if the value is infinite */
|
||||
/* Returns nil, −1, or +1 depending on whether the value is finite,
|
||||
* -infinity, or +infinity.
|
||||
*/
|
||||
static VALUE
|
||||
BigDecimal_IsInfinite(VALUE self)
|
||||
{
|
||||
|
@ -773,7 +775,7 @@ BigDecimal_zero(VALUE self)
|
|||
return VpIsZero(a) ? Qtrue : Qfalse;
|
||||
}
|
||||
|
||||
/* Returns True if the value is non-zero. */
|
||||
/* Returns self if the value is non-zero, nil otherwise. */
|
||||
static VALUE
|
||||
BigDecimal_nonzero(VALUE self)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue