1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

math.c: improve docs for Math.sqrt

* math.c: [DOC] mention Integer.sqrt in docs for Math.sqrt.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58582 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
stomar 2017-05-06 07:28:40 +00:00
parent 5e58811bc8
commit 4b5a2b5272

2
math.c
View file

@ -596,7 +596,7 @@ math_log10(VALUE unused_obj, VALUE x)
* *
* Math.sqrt(10**46).to_i #=> 99999999999999991611392 (!) * Math.sqrt(10**46).to_i #=> 99999999999999991611392 (!)
* *
* See also BigDecimal#sqrt. * See also BigDecimal#sqrt and Integer.sqrt.
*/ */
static VALUE static VALUE