❗Factorial!

by Ricardo “Rudxain” Fernández Serrata

Version 4 (November 30, 2022)

Download (228 downloads)

Standard math factorial. It uses a table, for speed and minification. Returns NaN if negative or non-int or NaN. It has a subroutine to make it easier to embed in flows.

ℹ en.wikipedia.org/wiki/Factorial

Breaking changes: removed multifactorial because it's almost useless, removed non-int support because of accuracy issues, removed negative support because there are many different possible definitions.

Tags: 169 170 171

LICENSE: https://unlicense.org

4.5 average rating from 2 reviews

5 stars
1
4 stars
1
3 stars
0
2 stars
0
1 star
0
Reports
0

Rate and review within the app in the Community section.