summaryrefslogtreecommitdiffstats
path: root/rand.c
Commit message (Expand)AuthorAgeFilesLines
* Copyright year bump 2021.Kaz Kylheku2021-01-141-1/+1
* random: use nanoseconds for seeding.Kaz Kylheku2020-10-071-1/+1
* time: move time functions out of lib.c into time.c.Kaz Kylheku2020-10-071-0/+1
* random: correctly refer to WELL512a everywhere.Kaz Kylheku2020-10-071-1/+1
* random: bugfix: incorrect WELL512a.Kaz Kylheku2020-10-071-6/+31
* c_num: now takes self argument.Kaz Kylheku2020-06-291-7/+7
* Remove unnecessary #include directives.Kaz Kylheku2020-04-221-1/+0
* Copyright year bump 2020.Kaz Kylheku2019-12-311-1/+1
* safety: fix type tests that code can subvert.Kaz Kylheku2019-09-301-1/+1
* Fix some instances of 4 bytes = 32 bits assumption.Kaz Kylheku2019-01-231-6/+6
* mpi: put access macros into mp_ namespaceKaz Kylheku2019-01-221-1/+1
* Copyright year bump 2019.Kaz Kylheku2019-01-161-1/+1
* Better identify functions that misuse COBJ-s and hashes.Kaz Kylheku2018-11-071-6/+13
* random-float: new function.Kaz Kylheku2018-07-161-0/+27
* random: reject negative bignum modulus.Kaz Kylheku2018-05-161-2/+2
* Copyright year bump 2018.Kaz Kylheku2018-02-151-1/+1
* Handle returns of MPI functions that return MP_TOOBIG.Kaz Kylheku2017-06-181-6/+14
* mpi: fix some careless use of integer types.Kaz Kylheku2017-06-181-8/+8
* cobj: rename poorly named default operation.Kaz Kylheku2017-05-151-1/+1
* Rename c_uint_ptr_num; introduce cunum typedef.Kaz Kylheku2017-04-211-1/+1
* Rename badly named default_bool_argKaz Kylheku2017-03-171-2/+2
* Bump copyright year to 2017.Kaz Kylheku2017-01-231-1/+1
* Synchronize license comments with LICENSE.Kaz Kylheku2016-10-011-16/+17
* Use random padding in PRNG rather than 0xAA.Kaz Kylheku2016-04-281-3/+13
* Clean-up rand code; implement configurable warmup.Kaz Kylheku2016-04-281-24/+34
* Only use getpid for rand seed if HAVE_UNISTD_H.Kaz Kylheku2016-04-281-0/+2
* Remove bogus code for 128 bit platform.Kaz Kylheku2016-04-281-6/+3
* Move PRNG-related initialization to rand.cKaz Kylheku2016-04-281-0/+9
* Header file cleanup.Kaz Kylheku2016-01-221-6/+0
* New random-state-get-vec function.Kaz Kylheku2016-01-181-0/+28
* random: wrong mask width for power-of-two moduli.Kaz Kylheku2016-01-181-2/+2
* Don't allow non-positive modulus in rand and random.Kaz Kylheku2016-01-181-20/+22
* Copyright year bump.Kaz Kylheku2015-12-311-1/+1
* Stop using C library setjmp/longjmp.Kaz Kylheku2015-10-251-1/+0
* Random states of type random-state, not *random-state*.Kaz Kylheku2015-09-081-3/+14
* Update copyright notices from 2014 to 2015.Kaz Kylheku2015-02-011-1/+1
* Use macro to initialize cobj_ops.Kaz Kylheku2015-01-291-7/+5
* * rand.c (rand32): Bugfix: if the seed object is a randomKaz Kylheku2014-12-171-5/+7
* * rand.c (struct rand_state): Change cur member to unsigned.Kaz Kylheku2014-12-171-1/+1
* * rand.c (rstate): New inline function.Kaz Kylheku2014-12-161-8/+11
* * Makefile: Removing trailing spaces.Kaz Kylheku2014-10-241-3/+3
* Converting cast expressions to macros that are retargettedKaz Kylheku2014-10-171-15/+16
* * rand.c (make_random_state): Make the seeding behaviorKaz Kylheku2014-08-051-7/+13
* * Makefile, arith.c, arith.h, combi.c, combi.h, configure, debug.c,Kaz Kylheku2014-07-231-16/+16
* * eval.c, gc.c, rand.c, regex.c, signal.c: Remove inclusion of unneededKaz Kylheku2014-04-131-1/+0
* * eval.c (eval_init): Make seed argument optional in make-random-state.Kaz Kylheku2014-03-141-5/+10
* * rand.c (rand_init): Oops! Spectacular silliness hereKaz Kylheku2014-03-081-3/+2
* Change in the design of how special variables work, to fix the brokenKaz Kylheku2014-02-281-15/+14
* Replacing uses of the eq function which are used only as C booleans,Kaz Kylheku2014-02-221-1/+1
* The C function nullp is being renamed to null, and the rarelyKaz Kylheku2014-02-221-1/+1