summaryrefslogtreecommitdiffstats
path: root/rand.c
Commit message (Expand)AuthorAgeFilesLines
* random: shift bug uncovered by ubsan.Kaz Kylheku2022-02-141-1/+3
* random-sample: replace algorithm R.Kaz Kylheku2022-01-291-4/+13
* New function: random-sample.Kaz Kylheku2022-01-291-2/+63
* Copyright year bump 2022.Kaz Kylheku2022-01-111-1/+1
* Casts have crept into the code not wrapped by macros.Kaz Kylheku2022-01-061-12/+12
* random: new function random-float-incl.Kaz Kylheku2021-10-251-0/+37
* rand: remove redundant inclusion of buf.h.Paul A. Patience2021-09-061-1/+0
* rand: provide random-buf function.Kaz Kylheku2021-08-261-0/+41
* random: bug: 32 bit shift.Kaz Kylheku2021-08-261-3/+3
* license: reformat to fit 80 columns.Kaz Kylheku2021-08-161-12/+13
* rand: support buffers as random seeds.Kaz Kylheku2021-07-131-1/+40
* rand: remove unnecessary type check.Kaz Kylheku2021-07-131-2/+1
* type: disallow structs using built-in type names.Kaz Kylheku2021-07-081-8/+12
* lib: fix neglect to use self variable.Kaz Kylheku2021-03-141-6/+6
* 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