aboutsummaryrefslogtreecommitdiff
path: root/lmathlib.c
diff options
context:
space:
mode:
Diffstat (limited to 'lmathlib.c')
-rw-r--r--lmathlib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lmathlib.c b/lmathlib.c
index 63f6036a..86def470 100644
--- a/lmathlib.c
+++ b/lmathlib.c
@@ -328,7 +328,7 @@ static Rand64 nextrand (Rand64 *state) {
328*/ 328*/
329 329
330/* must throw out the extra (64 - FIGS) bits */ 330/* must throw out the extra (64 - FIGS) bits */
331#define shift64_FIG (64 - FIGS) 331#define shift64_FIG (64 - FIGS)
332 332
333/* to scale to [0, 1), multiply by scaleFIG = 2^(-FIGS) */ 333/* to scale to [0, 1), multiply by scaleFIG = 2^(-FIGS) */
334#define scaleFIG (l_mathop(0.5) / ((Rand64)1 << (FIGS - 1))) 334#define scaleFIG (l_mathop(0.5) / ((Rand64)1 << (FIGS - 1)))