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

ruby-changes:45688

From: akr <ko1@a...>
Date: Fri, 3 Mar 2017 08:36:18 +0900 (JST)
Subject: [ruby-changes:45688] akr:r57761 (trunk): [DOC] update doc.

akr	2017-03-03 08:36:13 +0900 (Fri, 03 Mar 2017)

  New Revision: 57761

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=57761

  Log:
    [DOC] update doc.

  Modified files:
    trunk/numeric.c
Index: numeric.c
===================================================================
--- numeric.c	(revision 57760)
+++ numeric.c	(revision 57761)
@@ -3643,7 +3643,7 @@ rb_int_fdiv_double(VALUE x, VALUE y) https://github.com/ruby/ruby/blob/trunk/numeric.c#L3643
  *  call-seq:
  *     integer.fdiv(numeric)  ->  float
  *
- *  Returns the floating point result of dividing +fix+ by +numeric+.
+ *  Returns the floating point result of dividing +integer+ by +numeric+.
  *
  *     654321.fdiv(13731)      #=> 47.6528293642124
  *     654321.fdiv(13731.24)   #=> 47.6519964693647
@@ -4644,7 +4644,7 @@ rb_int_abs(VALUE num) https://github.com/ruby/ruby/blob/trunk/numeric.c#L4644
  *  call-seq:
  *     int.size  ->  int
  *
- *  Returns the number of bytes in the machine representation of +fix+.
+ *  Returns the number of bytes in the machine representation of +int+.
  *
  *     1.size            #=> 4
  *     -1.size           #=> 4

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

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