mirror of
https://github.com/lcn2/calc.git
synced 2025-08-19 01:13:27 +03:00
Improve seed() builtin
Increase size of random() data used by seed().
This commit is contained in:
2
seed.c
2
seed.c
@@ -80,7 +80,7 @@
|
|||||||
#endif
|
#endif
|
||||||
#if defined(HAVE_STDLIB_H)
|
#if defined(HAVE_STDLIB_H)
|
||||||
# include <stdlib.h>
|
# include <stdlib.h>
|
||||||
# define RANDOM_CNT (8) /* double random() call repeat count */
|
# define RANDOM_CNT (16) /* random() call repeat count */
|
||||||
# define INITSTATE_SIZE (256) /* initstate pool size */
|
# define INITSTATE_SIZE (256) /* initstate pool size */
|
||||||
#endif
|
#endif
|
||||||
#include <setjmp.h>
|
#include <setjmp.h>
|
||||||
|
Reference in New Issue
Block a user