Skip to content
Skip to main navigation
Skip to first column
Skip to second column
Singular
Search
Download 4-2-1
Try Online
Online Manual
Graphical Interface
Report Bugs
Books
Teams
Join Us
Home
Online Manual
D.2.3.7 factorial
Procedure from library
general.lib
(see
general_lib
).
Usage:
factorial(n); n integer
Return:
factorial(n): n! of type bigint.
Example:
LIB "general.lib"; factorial(37); ==> 13763753091226345046315979581580902400000000
See also:
prime
.
Main
Home
News
Publications
How to cite Singular
Community
Forum
Trac
Events
Mailing List
Blog
System
New Libraries
Source Code
Open Tasks
Third-party software
Misc
Links
Contact
Impressum
Internal