Rogue Wave banner
Previous fileTop of DocumentContentsIndexNext file

10.23 factorial()

PrototypesHeader File(s)
double
factorial(unsigned n)
<rw/dstats.h>

10.23.1 Description

Returns the factorial of n, which is written n!. Stores previously calculated factorials internally for speed.


Previous fileTop of DocumentContentsIndexNext file

©Copyright 1999, Rogue Wave Software, Inc.
Contact Rogue Wave about documentation or support issues.