From 4b5a2b527260338842bf25440e9cabc7e531ade4 Mon Sep 17 00:00:00 2001 From: stomar Date: Sat, 6 May 2017 07:28:40 +0000 Subject: [PATCH] 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 --- math.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/math.c b/math.c index 8032e41ae3..5e2cbe9b74 100644 --- a/math.c +++ b/math.c @@ -596,7 +596,7 @@ math_log10(VALUE unused_obj, VALUE x) * * Math.sqrt(10**46).to_i #=> 99999999999999991611392 (!) * - * See also BigDecimal#sqrt. + * See also BigDecimal#sqrt and Integer.sqrt. */ static VALUE