File r37/lisp/csl/html/r37_0081.html artifact 5a3a68984f part of check-in 3c4d7b69af



<A NAME=FACTORIAL>

<TITLE>FACTORIAL</TITLE></A>
<b><a href=r37_idx.html>INDEX</a></b><p><p>



<B>FACTORIAL</B> _ _ _  _ _ _  _ _ _  _ _ _ <B>operator</B><P>
<P>
 
 <P>
<P>
 <P> <H3> 
syntax: </H3>
<em>factorial</em>(&lt;expression&gt;) 
<P>
<P>
<P>
If the argument of <em>factorial</em> is a positive integer or zero, its 
factorial is returned. Otherwise the result is expressed in terms of the 
original operator. For more general operations, the 
<A HREF=r37_0491.html>gamma</A> operator 
is available in the 
<A HREF=r37_0443.html>Special Function Package</A>. 
<P>
<P>
 <P> <H3> 
examples: </H3>
<P><PRE><TT>
factorial 4; 

  24 


factorial 30 ; 

  265252859812191058636308480000000 

</TT></PRE><P>

REDUCE Historical
REDUCE Sourceforge Project | Historical SVN Repository | GitHub Mirror | SourceHut Mirror | NotABug Mirror | Chisel Mirror | Chisel RSS ]