math arcsin

For math.

Returns the arcsine of the number.

Command Type

built-in

Signature

> math arcsin {flags}

Flags

  • --degrees, -d: Return degrees instead of radians.

Input/output types:

input output
number float
list<number> list<float>

Examples

Get the arcsine of 1

> 1 | math arcsin
1.5707963267948966

Get the arcsine of 1 in degrees

> 1 | math arcsin --degrees
90.0

Ported from nushell/nushell.github.io. Copyright (c) 2021 Nushell Project. MIT License.