31 #if WM_LABEL_SIZE == 32
34 #elif WM_LABEL_SIZE == 64
54 <<
"negative value for b is not supported"
65 static label factTable[13] =
67 1, 1, 2, 6, 24, 120, 720, 5040, 40320,
68 362880, 3628800, 39916800, 479001600
75 <<
"n value out of range"
Traits class for primitives.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
errorManip< error > abort(error &err)
tmp< DimensionedField< typename powProduct< Type, r >::type, GeoMesh, Field > > pow(const DimensionedField< Type, GeoMesh, PrimitiveField > &df, typename powProduct< Type, r >::type)
label factorial(label n)
Return n! : 0 < n <= 12.