[前][次][番号順一覧][スレッド一覧]

ruby-changes:71723

From: Grant <ko1@a...>
Date: Thu, 14 Apr 2022 04:44:47 +0900 (JST)
Subject: [ruby-changes:71723] 59c81274aa (master): Use correct capitalization of "NaN" in docs

https://git.ruby-lang.org/ruby.git/commit/?id=59c81274aa

From 59c81274aaa0ca7fd36635360f10b88aa67efa0a Mon Sep 17 00:00:00 2001
From: Grant Hutchins <git@n...>
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(-)

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) https://github.com/ruby/ruby/blob/trunk/numeric.c#L2003
  *  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


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]