Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | * arith.c (normalize): Linkage changed to extern. | Kaz Kylheku | 2011-12-21 | 1 | -1/+1 | |
| | | | | | | | | * arith.h (normalize): Declared. * rand.c (random): Bugfix: normalize the bignum before returning it. * txr.1: Doc stubs for PRNG functionality. | |||||
* | * rand.c: Added comment about source of algorithm. | Kaz Kylheku | 2011-12-21 | 1 | -0/+4 | |
| | ||||||
* | * rand.c (random): Bugfix: not building up sufficiently large bignums. | Kaz Kylheku | 2011-12-21 | 1 | -3/+12 | |
| | | | | Work properly when mp_digit is smaller than 32 bits. | |||||
* | * Makefile (OBJS): new object file, rand.o. | Kaz Kylheku | 2011-12-21 | 1 | -0/+199 | |
* eval.c: Includes rand.h header. (eval_init): New variable and functions from rand module registered. * lib.c: Includes rand.h header. (init): Call rand_init. * rand.c: New file. * rand.h: New file. |