tan()

A function returning a tangent from radians

tan() is a system function returning a tangent from an argument in radians

tan() was added in PostgreSQL 7.0.

Usage

tan ( double precision ) → double precision

Change history

Examples

Basic usage example for tan():

postgres=# SELECT tan(1.5);
        tan         
--------------------
 14.101419947171719
(1 row)

Categories

System function

See also

tand(), tanh(), atanh(),atan(),atand(), atan2(), atand2()