there is no factorial function in SAS, but there is a gamma function.
n! = gamma(n+1) ... since these values get large quickly, you may also
have need of the log gamma function (lgamma)
On Tue, 20 Feb 2001, kviel wrote:
> Good day all,
> I have looked for a factorial function and the value of e and
> briefly. Finally I wrote code to produce e using the both the SAS funciton
> log( ) and the infinite series. Have I missed them? As an off-topic
> question, does anyone know the Taylor series for pi?
> Kevin Viel
> Georgia Medical Care Foundation
> 57 Executive Park South, NE
> suite 200
> Atlanta, GA 30329-2224
> CONFIDENTIALITY NOTICE: This e-mail transmission, and any documents, files
> or previous e-mail messages attached to it may contain proprietary,
> privileged or confidential information. If you are not an intended
> recipient, or a person responsible for delivering it to the intended
> recipient, you are hereby notified that any disclosure, copying,
> distribution or use of any of the information contained in or
> attached to this transmission is STRICTLY PROHIBITED. If you have
> received this transmission in error, please immediately notify me by
> reply e-mail and destroy the original transmission and its
> attachments without saving them in any manner.