Returns the angle part of its polar form.
Complex.polar(3, Math::PI/2).arg #=> 1.5707963267948966
Overloads:
Returns:
1216 1217 1218 1219 1220 1221
# File 'complex.c', line 1216 VALUE rb_complex_arg(VALUE self) { get_dat1(self); return rb_math_atan2(dat->imag, dat->real); }