This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
rand() advisory for perldelta.pod
authorAndy Dougherty <doughera@lafayette.edu>
Thu, 30 Sep 1999 12:24:00 +0000 (08:24 -0400)
committerJarkko Hietaniemi <jhi@iki.fi>
Thu, 30 Sep 1999 16:15:05 +0000 (16:15 +0000)
To: Perl Porters <perl5-porters@perl.org>
Message-ID: <Pine.SOL.4.10.9909301218390.3343-100000@maxwell.phys.lafayette.edu>

p4raw-id: //depot/cfgperl@4261

pod/perldelta.pod

index e3a37dc..9489c58 100644 (file)
@@ -17,6 +17,18 @@ This document describes differences between the 5.005 release and this one.
 
 TODO
 
+=over 4
+
+=item Possibly changed pseudo-random number generator
+
+In 5.005_0x and earlier, perl's rand() function used the C library
+rand(3) function.  As of 5.005_52, Configure tests for drand48(),
+random(), and rand() (in that order) and picks the first one it finds.
+Perl programs that depend on reproducing a specific set of pseudo-random
+numbers will now likely produce different output.
+
+=back
+
 =head2 C Source Incompatibilities
 
 =over 4