Hi all,
The PG Documentation states:
tgl=> select cast(text '44' as int8) ! as "factorial";
factorial
---------------------
2673996885588443136
(1 row)
If you try it, you will get the same result, but it is the wrong answer.
Factorial work up to 20. After that one gets negative results.
JLL