aboutsummaryrefslogtreecommitdiffstats
path: root/numeric.c
diff options
context:
space:
mode:
authorkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-05-03 14:31:40 +0000
committerkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-05-03 14:31:40 +0000
commitaaa892ea3ac33a2112d31bcd73bbb7efce93a5fc (patch)
treead0b7e45c581418069a1ee67c46cb8fccf381d8b /numeric.c
parent54ecb4356be66a4f52acb370b251e139b97a71ed (diff)
downloadruby-aaa892ea3ac33a2112d31bcd73bbb7efce93a5fc.tar.gz
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 4f43a754c7..29d5e250e2 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)
*
*/