This commit is contained in:
Boki 2025-06-11 10:35:15 -04:00
parent d85cd58acd
commit 597c6efc9b
91 changed files with 2224 additions and 1400 deletions

View file

@ -605,7 +605,7 @@ function erf(x: number): number {
*/
function boxMullerTransform(): number {
let u1 = Math.random();
let u2 = Math.random();
const u2 = Math.random();
// Ensure u1 is not zero
while (u1 === 0) {