diff options
author | Damien Doligez <damien.doligez-inria.fr> | 2010-05-21 18:30:12 +0000 |
---|---|---|
committer | Damien Doligez <damien.doligez-inria.fr> | 2010-05-21 18:30:12 +0000 |
commit | 9209d550c59853820d85f6f13f336544e84d4234 (patch) | |
tree | d31e251a6858186c3e166418e61c82bcee151be1 /stdlib/random.mli | |
parent | 05ce8f5414a4971ab73f68f6e4e0ac4323b9ca84 (diff) | |
download | ocaml-9209d550c59853820d85f6f13f336544e84d4234.tar.gz |
PR#4831: use tags @since and @before in std lib
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10457 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'stdlib/random.mli')
-rw-r--r-- | stdlib/random.mli | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/stdlib/random.mli b/stdlib/random.mli index 587a78206c..88387d191b 100644 --- a/stdlib/random.mli +++ b/stdlib/random.mli @@ -29,7 +29,10 @@ val self_init : unit -> unit in a system-dependent way. *) val bits : unit -> int -(** Return 30 random bits in a nonnegative integer. *) +(** Return 30 random bits in a nonnegative integer. + @before 3.12.0 used a different algorithm (affects all the following + functions) +*) val int : int -> int (** [Random.int bound] returns a random integer between 0 (inclusive) |