Merge: Own rand seed
authorJean Privat <jean@pryen.org>
Fri, 7 Aug 2015 15:38:38 +0000 (11:38 -0400)
committerJean Privat <jean@pryen.org>
Fri, 7 Aug 2015 15:38:38 +0000 (11:38 -0400)
commit47651a14a7b26150d1cea04ca3fc1709e73a3695
treeed8c9a6f8cae4c168f25f04e2e73487c29a01ff2
parent5fa58b00bb8f8ce221e065197993cc871939b2d2
parent754ae3025b6a01cdc9d1b462b84ce56029538bb1
Merge: Own rand seed

Inject a basic patform-independent reproducible pseudo-random generator when `srand_form` (thus NIT_SRAND) is used.
This will allows to have more reproductible tests on various architecture.

Related with #1387

Pull-Request: #1621
Reviewed-by: Alexandre Terrasa <alexandre@moz-code.org>
Reviewed-by: Lucas Bajolet <r4pass@hotmail.com>
Reviewed-by: Alexis Laferrière <alexis.laf@xymus.net>
lib/standard/math.nit
src/c_tools.nit