summaryrefslogtreecommitdiff
path: root/numeric.c
diff options
context:
space:
mode:
authorkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-05-03 14:31:40 (GMT)
committerkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-05-03 14:31:40 (GMT)
commit8ef6dacb248876b444595a26ea78c35eb07a188b (patch)
treead0b7e45c581418069a1ee67c46cb8fccf381d8b /numeric.c
parent5bc03ef459023d72610b64b67ffbf5803893ab59 (diff)
Update result of 123456789 ** -2
* numeric.c: [DOC] Update result of 123456789 ** -2. [ruby-dev:49606] [Bug #12339] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54898 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'numeric.c')
-rw-r--r--numeric.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/numeric.c b/numeric.c
index 4f43a75..29d5e25 100644
--- a/numeric.c
+++ b/numeric.c
@@ -3645,7 +3645,7 @@ int_divmod(VALUE x, VALUE y)
*
* 123456789 ** 2 #=> 15241578750190521
* 123456789 ** 1.2 #=> 5126464716.09932
- * 123456789 ** -2 #=> 6.5610001194102e-17
+ * 123456789 ** -2 #=> (1/15241578750190521)
*
*/