Skip to content

7.7.3 Trigonometric Functions ​

Trigonometric functions take numeric arguments and produce numeric results.

Function: __ARCOS ( number) Function: __ACOS ( number)

Takes the arccosine, in radians, of number. Results in system-missing if number is not between -1 and 1 inclusive. This function is a PSPP extension.

Function: __ARSIN ( number) Function: __ASIN ( number)

Takes the arcsine, in radians, of number. Results in system-missing if number is not between -1 and 1 inclusive.

Function: __ARTAN ( number) Function: __ATAN ( number)

Takes the arctangent, in radians, of number.

Function: __COS ( angle)

Takes the cosine of angle which should be in radians.

Function: __SIN ( angle)

Takes the sine of angle which should be in radians.

Function: __TAN ( angle)

Takes the tangent of angle which should be in radians. Results in system-missing at values of angle that are too close to odd multiples of \pi/2. Portability: none.

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