Postgres Trigonometry
- acos
Returns the arccosine of "numeric_expression" in radians. The arccosine is the angle whose cosine is "numeric_expression". - asin
Returns the arcsine of "numeric_expression" in radians. The arcsine is the angle whose sine is "numeric_expression". - atan
Returns the arctangent of "numeric_expression" in radians. The arctangent is the angle whose tangent is "numeric_expression". - atan2
Returns the arctangent of the x and y coordinates specified by "numeric_expression1" and "numeric_expression2", respectively, in radians. The arctangent is the angle whose tangent is "numeric_expression2" / "numeric_expression1". - cos
Returns the cosine of "numeric_expression", where "numeric_expression" is an angle expressed in radians. - cot
Returns the cotangent of "numeric_expression", where "numeric_expression" is an angle expressed in radians. - degrees
Returns the degrees where "numeric_expression" is an angle expressed in radians. - radians
Returns the radians where "numeric_expression" is an angle expressed in degrees. - sin
Returns the sine of "numeric_expression", where "numeric_expression" is an angle expressed in radians. - tan
Returns the tangent of "numeric_expression", where "numeric_expression" is an angle expressed in radians.
Parent topic: Postgres