Spec-Zone.ru › Nushell

math arctan for math

Returns the arctangent of the number.

Signature

> math arctan {flags}

Flags

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

Input/output types:

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

Examples

Get the arctangent of 1

> 1 | math arctan
0.7853981633974483

Get the arctangent of -1 in degrees

> -1 | math arctan --degrees
-45.0

Copyright © 2019–2026 The Nushell Project DevelopersLicensed under the MIT License.
https://www.nushell.sh/commands/docs/math_arctan.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API