mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-02 16:38:41 +00:00
Add math.factorial (#8298)
This commit is contained in:
parent
250420e566
commit
a7c5dc50e5
2 changed files with 15 additions and 0 deletions
|
@ -2378,6 +2378,7 @@ Helper functions
|
|||
* tolerance: number, default: `0.0`
|
||||
* If the absolute value of `x` is within the `tolerance` or `x` is NaN,
|
||||
`0` is returned.
|
||||
* `math.factorial(x)`: returns the factorial of `x`
|
||||
* `string.split(str, separator, include_empty, max_splits, sep_is_pattern)`
|
||||
* `separator`: string, default: `","`
|
||||
* `include_empty`: boolean, default: `false`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue