arcsin_deg
arcsin_deg(input: float64) -> float64
Computes the arc sine of the input. The result is a float64, specified in degrees, in the range [-90, 90]
Arguments
- input (required) Ratio to find the arc sine of, float64. Must be in the range [-1, 1], otherwise the function returns null.
Domain
This is a scalar function (calculates a single output value for a single input row).
Categories
Examples
make_col arcsin:arcsin_deg(ratio)
Create a column 'arcsin' with the result of the arc sine of column 'ratio'
The resulting column will be in degrees.
Given the below column ratio, arcsin_deg produces the below column arcsin
Ratio should be a floating point number and in the range [-1, 1]. Any inputs outside this range have the result null.
| ratio | arcsin |
|---|---|
| -2 | null |
| -1 | -90 |
| -1/2 | -30 |
| 0 | 0 |
| 1/2 | 30 |
| 1 | 90 |
| 2 | null |
Updated 8 days ago