Alain Frisch
b4c4c5e77b
#5977 : ensure that bootstrapping on 64-bit does not produce 64-bit constants that cannot be read on 32-bit platforms.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13488 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-04-09 12:17:05 +00:00
Damien Doligez
def31744f9
remove all $Id keywords
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13013 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-10-15 17:50:56 +00:00
Damien Doligez
8617313666
PR#5575: Random states are not marshallable across architectures
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12335 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-04-10 15:33:21 +00:00
Xavier Leroy
90fde3e40e
Updated documentation of Random.self_init and Random.float.
...
Faster implementation of Random.float: to get a 53-bit random mantissa, combining two calls to Random.bits is enough, three was overkill.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12262 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-03-23 09:58:22 +00:00
Xavier Leroy
44b6164bb0
Improve self-initialization of the Random module, using /dev/urandom
...
when available. The changes in byterun/win32.c are untested.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12244 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-03-14 16:12:09 +00:00
Damien Doligez
f95e7f4a59
uniformization of the warnings at the head of the hidden sections of the .mli
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12243 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-03-14 16:03:15 +00:00
Damien Doligez
3b507dd1aa
renaming of Objective Caml to OCaml and cleanup of copyright headers
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11156 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-07-27 14:17:02 +00:00
Damien Doligez
e39b77d0fc
better PRNG
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9621 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-02-05 17:34:14 +00:00
Damien Doligez
aa46693dc5
depollution (PR#1914, PR#1956)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6023 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-12-16 18:09:44 +00:00
Damien Doligez
51d50c7702
meilleur code pour Random.int
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5605 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-06-19 18:14:52 +00:00
Damien Doligez
5eef5478ae
amelioration Random
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5596 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-06-12 16:49:32 +00:00
Damien Doligez
a085ee8310
plus de determinisme (?)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5595 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-06-12 12:54:51 +00:00
Damien Doligez
60a5460849
changement seeding + ajout fonctions serieuses
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5592 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-06-12 11:15:26 +00:00
Damien Doligez
67633a84d7
ajout Random.bool
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4336 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-02-01 12:24:44 +00:00
Xavier Leroy
7501784c80
MAJ en-tetes pour mentionner la 'special exception' sur la LGPL
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4144 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-12-07 13:41:02 +00:00
Damien Doligez
f5759d294a
arg: ajout --help; random: meilleur init
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3644 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-08-21 15:10:51 +00:00
Damien Doligez
378fa2ff51
commentaire
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3531 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-06-15 19:09:53 +00:00
Damien Doligez
c39dc1ae28
bug dans set/get_state
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3337 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-11-20 15:09:26 +00:00
Damien Doligez
02d7534dfe
random: ajout get/set_state
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3336 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-11-20 14:20:03 +00:00
Xavier Leroy
26a9ca2c30
Suppression de Sys.date. Utilisation de sys_random_seed a la place dans Random
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2588 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1999-11-23 10:50:06 +00:00
Xavier Leroy
cc0f32b054
Changement de la licence
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2553 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1999-11-17 18:59:06 +00:00
Damien Doligez
8a8a0c17ae
ajout de Random.self_init et Sys.date. Attention bootstrap difficile.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2384 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1999-07-22 13:00:59 +00:00
Damien Doligez
c44e6f999a
arg.ml, arg.mli, string.mli: amelioration de la doc
...
array.mli, array.ml, random.ml: create -> make (coherence avec String)
sys.ml, sys.mli: ajout max_string_length, max_array_length
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1706 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1997-09-11 15:10:23 +00:00
Damien Doligez
cabc4322f1
Meilleure verification de l'argument de Random.int
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1482 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1997-03-31 15:51:43 +00:00
Damien Doligez
ebb135596b
Changement pour compatibilite 32/64 bits.
...
Ajout de Random.bits
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1155 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1996-11-06 16:54:46 +00:00
Francois Rouaix
984514f891
Fix constantes (Random.int max_int bouclait
...
sur les 64bits). Fix par Planar.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@915 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1996-07-01 16:56:02 +00:00
Xavier Leroy
2301d778e7
Renommage en Objective Caml
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@782 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1996-04-30 14:53:58 +00:00
Xavier Leroy
92a64dc231
Mauvaise constante dans Random.int
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@465 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1995-11-26 13:35:48 +00:00
Xavier Leroy
d8ef906aca
Digest: documentation revue.
...
Random: meilleure implementation de Random.int et de Random.init.
Makefile: Random utilise Digest.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@450 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1995-11-15 16:40:44 +00:00
Xavier Leroy
06a7187d66
pervasives.mli: typo dans les docs
...
Ajout de random.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@333 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1995-10-16 12:40:46 +00:00