Factorial: Difference between revisions

Content added Content deleted
m (→‎{{header|Zig}}: Update version after tweaks to work with Zig 0.11.0)
Line 10,814:
 
=={{header|Zig}}==
{{Works with|Zig=|0.11.0}}
Supports all integer data types, and checks for both overflow and negative numbers; returns null when there is a domain error.
<syntaxhighlight lang="zig">