summaryrefslogtreecommitdiff
path: root/math.c
diff options
context:
space:
mode:
authorstomar <stomar@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-05-06 07:28:40 +0000
committerstomar <stomar@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-05-06 07:28:40 +0000
commit4b5a2b527260338842bf25440e9cabc7e531ade4 (patch)
tree0633c5beeea61832d3f82eb9a756844ccd777811 /math.c
parent5e58811bc8c99631b6378347f85f879e0d665a86 (diff)
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
Diffstat (limited to 'math.c')
-rw-r--r--math.c2
1 files changed, 1 insertions, 1 deletions
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