Skip to content

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.

基于 GNU PSPP 2.0.1 手册与入门教程整理