Skip to content

Commit

Permalink
Update polyfill.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Rudxain committed Jul 20, 2023
1 parent e619a43 commit 3a3cfae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/polyfill.js
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ import { gcd, lcm } from './mod/factors'
@param {number} x
*/
const Gamma = x => {
let t = 1, s0, s1 = 0 ** x
let t = 1, s0 = NaN, s1 = 0 ** x
do {
s0 = s1
s1 += t ** x * exp(-t)
Expand Down

0 comments on commit 3a3cfae

Please sign in to comment.