summaryrefslogtreecommitdiffstats
path: root/numeric.c
diff options
context:
space:
mode:
authortadf <tadf@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-06-19 21:57:51 +0000
committertadf <tadf@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-06-19 21:57:51 +0000
commitf3509febe5a1b912b7fb9902a426590975839fc2 (patch)
tree244dc8ce2dd997ec5ee1671e3b285d3cb44b1d25 /numeric.c
parentc36bc82b1c329664a0472a574d530905b904565f (diff)
downloadruby-f3509febe5a1b912b7fb9902a426590975839fc2.tar.gz
ruby-f3509febe5a1b912b7fb9902a426590975839fc2.tar.xz
ruby-f3509febe5a1b912b7fb9902a426590975839fc2.zip
* complex.c: edited rdoc.
* rational.c: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23753 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'numeric.c')
-rw-r--r--numeric.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/numeric.c b/numeric.c
index 627c5297c..a2bd0f4eb 100644
--- a/numeric.c
+++ b/numeric.c
@@ -425,8 +425,8 @@ num_int_p(VALUE num)
/*
* call-seq:
- * num.abs => num or numeric
- * num.magnitude => num or numeric
+ * num.abs => num
+ * num.magnitude => num
*
* Returns the absolute value of <i>num</i>.
*
@@ -1172,7 +1172,7 @@ flo_to_f(VALUE num)
/*
* call-seq:
* flt.abs => float
- * flt.magnitude => num or numeric
+ * flt.magnitude => float
*
* Returns the absolute value of <i>flt</i>.
*