Skip to content
instance method

Numeric#arg

() -> ::Numeric
arg → 0 or Math::PI

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

See also #angle #ceil #abs2 #clone also in 4.1 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0