CSC
Descriptionβ
Returns the cosecant of x, where x is the value in radians, only input and output are supported as double. Input null value will return null value.
Syntaxβ
CSC(<x>)
Parametersβ
Parameter | Description |
---|---|
<x> | The value for which the cosecant is to be calculated |
Return Valueβ
Returns a Double type value means the cosecant of x.
Exampleβ
select csc(1),csc(2),csc(1000);
+--------------------+--------------------+------------------+
| csc(1) | csc(2) | csc(1000) |
+--------------------+--------------------+------------------+
| 1.1883951057781212 | 1.0997501702946164 | 1.20936599707935 |
+--------------------+--------------------+------------------+
Input null value.
select csc(null);
+--------------------+
| csc(null) |
+--------------------+
| NULL |
+--------------------+