truncfactorial {EMJMCMC}R Documentation

Truncated factorial to avoid stack overflow for huge values

Description

truncated factorial to avoid stack overflow for huge values

Usage

truncfactorial(x)

Arguments

x

a non-negative integer number

Value

truncfactorial(x), truncated factorial as min(x!,171!)

Examples

truncfactorial(10)

[Package EMJMCMC version 1.5.0 Index]