Skip to content
instance method

Float#angle

() -> (::Integer | ::Float)
angle

Alias of #arg

Returns 0 if self is positive, Math::PI otherwise.

See also #arg #abs #>= #ceil also in 4.1 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0