diff options
author | HybridDog <ovvv@web.de> | 2019-03-05 10:11:21 +0100 |
---|---|---|
committer | Loïc Blot <nerzhul@users.noreply.github.com> | 2019-03-05 10:11:21 +0100 |
commit | a7c5dc50e5445c3aa3b45ea4be48fc179bd4cce8 (patch) | |
tree | 9ece096c4d7c38a3ac9079f8a53c8c9b41b0df30 /doc/lua_api.txt | |
parent | 250420e56685b597088596a5498f5babcf6de5f9 (diff) | |
download | minetest-a7c5dc50e5445c3aa3b45ea4be48fc179bd4cce8.tar.gz minetest-a7c5dc50e5445c3aa3b45ea4be48fc179bd4cce8.tar.bz2 minetest-a7c5dc50e5445c3aa3b45ea4be48fc179bd4cce8.zip |
Add math.factorial (#8298)
Diffstat (limited to 'doc/lua_api.txt')
-rw-r--r-- | doc/lua_api.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt index 05ea6b4bc..593ab50dd 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -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` |