mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
lib/mathn.rb: [DOC] nodoc internal Math.rsqrt
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57744 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
a0da6f0dfe
commit
98374b99dd
1 changed files with 1 additions and 1 deletions
|
@ -117,7 +117,7 @@ module Math
|
|||
# Compute square root of a non negative number. This method is
|
||||
# internally used by +Math.sqrt+.
|
||||
|
||||
def rsqrt(a)
|
||||
def rsqrt(a) # :nodoc:
|
||||
if a.kind_of?(Float)
|
||||
sqrt!(a)
|
||||
elsif a.kind_of?(Rational)
|
||||
|
|
Loading…
Reference in a new issue