Jump to: navigation, search

PostgreSQL ASIN

From w3cyberlearnings

Contents

Postgresql ASIN

This function returns the arc sine of X, and the value X is sine value. It returns NULL when X is in not the range -1 to 1.

Syntax ASIN

X is the number between -1 to 1.

ASIN(X);

Example 1


postgres=# SELECT ASIN(-0.3);
        asin        
--------------------
 -0.304692654015398
(1 row)

Example 2

postgres=# SELECT ASIN(1);
      asin       
-----------------
 1.5707963267949
(1 row)

Related Links



Navigation
Web
SQL
MISC
References