gmp_fact()
function gmp_fact(object|string|int $num): object
Computes a factorial.
Parameters:
$num(object|string|int)
Returns: object
Availability
| Compiled (AOT) | Magician (eval) |
|---|---|
| Available | Available |
No examples yet. Check examples/ and showcases/ for usage patterns.
Internals
For how gmp_fact is implemented in the compiler, see the internals page.