The Wayback Machine - https://web.archive.org/web/20251109195359/https://javascriptsource.com/snippet/math-related/