Top
Back: deleteSublist
Forward: fibonacci
FastBack: compregb_lib
FastForward: grobcov_lib
Up: general_lib
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

D.2.3.6 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.


Top Back: deleteSublist Forward: fibonacci FastBack: compregb_lib FastForward: grobcov_lib Up: general_lib Top: Singular Manual Contents: Table of Contents Index: Index About: About this document
            User manual for Singular version 3-1-3, March 2011, generated by texi2html.