[#8815] Segfault in libc strlen, via rb_str_new2 — "Sean E. Russell" <ser@...>

Howdy,

12 messages 2006/09/09
[#8817] Re: Segfault in libc strlen, via rb_str_new2 — Eric Hodel <drbrain@...7.net> 2006/09/09

On Sep 8, 2006, at 10:10 PM, Sean E. Russell wrote:

[ ruby-Patches-5869 ] Typo in documentation of Kernel#rand

From: <noreply@...>
Date: 2006-09-23 20:25:46 UTC
List: ruby-core #8911
Patches item #5869, was opened at 2006-09-23 14:25
You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=1700&aid=5869&group_id=426

Category: Ruby1.8
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Jason Creighton (jcreigh)
Assigned to: Nobody (None)
Summary: Typo in documentation of Kernel#rand

Initial Comment:
--- random.c.orig       2006-09-23 14:15:38.633062711 -0600
+++ random.c    2006-09-23 14:15:53.571151184 -0600
@@ -426,7 +426,7 @@
  *  than or equal to zero and less than max1. <code>Kernel::srand</code>
  *  may be used to ensure repeatable sequences of random numbers between
  *  different runs of the program. Ruby currently uses a modified
- *  Mersenne Twister with a period of 219937-1.
+ *  Mersenne Twister with a period of 2**19937-1.
  *     
  *     srand 1234                 #=> 0
  *     [ rand,  rand ]            #=> [0.191519450163469, 0.49766366626136]


----------------------------------------------------------------------

You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=1700&aid=5869&group_id=426

In This Thread

Prev Next