Outdated Version

You are viewing an older version of this section. View current production version.

SIN

Computes the sine of x, where x is given in radians.

Syntax

SIN (x)

Arguments

  • x: the argument in radians

Return Type

Float or double. NULL if x is NULL.

Examples

select sin(3.14159265359);
+----------------------------------+
| sin(3.14159265359)               |
+----------------------------------+
| -0.00000000000020682310711021444 |
+----------------------------------+