Skip to content

Commit d67441d

Browse files
committed
Merge pull request adafruit#365 from xbe/tgamma
py/builtinmath.c: use tgamma() instead of gamma().
2 parents 1214028 + 1ea8fcf commit d67441d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

py/builtinmath.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ MATH_FUN_1(trunc, trunc)
5757
MATH_FUN_2(ldexp, ldexp)
5858
MATH_FUN_1(erf, erf)
5959
MATH_FUN_1(erfc, erfc)
60-
MATH_FUN_1(gamma, gamma)
60+
MATH_FUN_1(gamma, tgamma)
6161
MATH_FUN_1(lgamma, lgamma)
6262
//TODO: factorial, fsum
6363

0 commit comments

Comments
 (0)