sin()

A function returning a sine from radians

sin() is a system function  returning a sine from an argument in radians.

sin() was added in PostgreSQL 7.0.

Usage

sin ( double precision ) → double precision

Use sind() to provide degrees instead of radians.

Change history

Examples

Basic usage example for sin():

postgres=# SELECT sin(1);
        sin         
--------------------
 0.8414709848078965
(1 row)

Categories

System function

See also

sind(), asin()