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

ruby-changes:29168

From: akr <ko1@a...>
Date: Mon, 10 Jun 2013 22:52:29 +0900 (JST)
Subject: [ruby-changes:29168] akr:r41220 (trunk): Update comment.

akr	2013-06-10 22:51:20 +0900 (Mon, 10 Jun 2013)

  New Revision: 41220

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=41220

  Log:
    Update comment.

  Modified files:
    trunk/bignum.c

Index: bignum.c
===================================================================
--- bignum.c	(revision 41219)
+++ bignum.c	(revision 41220)
@@ -629,7 +629,7 @@ absint_numwords_generic(size_t numbytes, https://github.com/ruby/ruby/blob/trunk/bignum.c#L629
  * This function returns ((val_numbits * CHAR_BIT + word_numbits - 1) / word_numbits)
  * where val_numbits is the number of bits of abs(val).
  *
- * This function can overflow if _val_ is very big and word_numbits is less than CHAR_BIT.
+ * This function can overflow.
  * When overflow occur, (size_t)-1 is returned.
  *
  * If nlz_bits_ret is not NULL and overflow is not occur,

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

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