summaryrefslogtreecommitdiff
path: root/numeric.c
diff options
context:
space:
mode:
authormarcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-02-05 05:39:16 +0000
committermarcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-02-05 05:39:16 +0000
commit075ae2955cc34980005a3bd3327049d28d1c1a25 (patch)
tree33009ce0b1f9b3baf147f05ac2f445f705c2fbc7 /numeric.c
parent55f0fa5a7a97fea1a41f5e56c8cd50dea0cb73f9 (diff)
downloadruby-075ae2955cc34980005a3bd3327049d28d1c1a25.tar.gz
* numeric.c: Fix rdoc for Fixnum#**
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39062 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 ab6c3ad27d..4ae5948cf0 100644
--- a/numeric.c
+++ b/numeric.c
@@ -2939,7 +2939,7 @@ int_pow(long x, unsigned long y)
* be negative or fractional.
*
* 2 ** 3 #=> 8
- * 2 ** -1 #=> 0.5
+ * 2 ** -1 #=> (1/2)
* 2 ** 0.5 #=> 1.4142135623731
*/