diff options
Diffstat (limited to 'lmathlib.c')
-rw-r--r-- | lmathlib.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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))) |