From 59c81274aaa0ca7fd36635360f10b88aa67efa0a Mon Sep 17 00:00:00 2001 From: Grant Hutchins Date: Wed, 13 Apr 2022 13:29:14 -0500 Subject: Use correct capitalization of "NaN" in docs --- numeric.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'numeric.c') 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 -- cgit v1.2.1