summaryrefslogtreecommitdiff
path: root/numeric.c
diff options
context:
space:
mode:
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 91f8c2bd87..742d61e2d6 100644
--- a/numeric.c
+++ b/numeric.c
@@ -2003,7 +2003,7 @@ rb_flo_is_infinite_p(VALUE num)
* call-seq:
* finite? -> true or false
*
- * Returns +true+ if +self+ is not +Infinity+, +-Infinity+, or +Nan+,
+ * Returns +true+ if +self+ is not +Infinity+, +-Infinity+, or +NaN+,
* +false+ otherwise:
*
* f = 2.0 # => 2.0