7.7.1 Mathematical Functions

Advanced mathematical functions take numeric arguments and produce numeric results.

Function: EXP (exponent)

Returns e (approximately 2.71828) raised to power exponent.

Function: LG10 (number)

Takes the base-10 logarithm of number. If number is not positive, the result is system-missing.

Function: LN (number)

Takes the base-e logarithm of number. If number is not positive, the result is system-missing.

Function: LNGAMMA (number)

Yields the base-e logarithm of the complete gamma of number. If number is a negative integer, the result is system-missing.

Function: SQRT (number)

Takes the square root of number. If number is negative, the result is system-missing.