1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Use correct capitalization of "NaN" in docs

This commit is contained in:
Grant Hutchins 2022-04-13 13:29:14 -05:00 committed by Peter Zhu
parent 629bad4aba
commit 59c81274aa
Notes: git 2022-04-14 04:44:59 +09:00

View file

@ -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