You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(normal-distribution): prevent ±infinity samples from Box-Muller
Sample u1 and u2 from the open interval (0, 1) to avoid log(0) = -∞.
The batch method now consumes both outputs of each Box-Muller pair,
halving the number of transcendental function calls.
Fixes: #178
0 commit comments