Skip to content

Commit

Permalink
added math.factorial
Browse files Browse the repository at this point in the history
  • Loading branch information
fredokun committed Oct 1, 2021
1 parent c28ad75 commit 2934f09
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mrpython/typechecking/typechecker.py
Original file line number Diff line number Diff line change
Expand Up @@ -2441,6 +2441,7 @@ def type_compare_DictType(expected_type, ctx, expr, expr_type, raise_error=True)
, 'math.acosh' : FunctionType([FloatType()], FloatType())
, 'math.asinh' : FunctionType([FloatType()], FloatType())
, 'math.atanh' : FunctionType([FloatType()], FloatType())
, 'math.factorial' : FunctionType([IntType()], IntType())
}


Expand Down

0 comments on commit 2934f09

Please sign in to comment.