method

sqrt

v2_2_9 - Show latest stable - Class: CMath
sqrt(z)
private

Returns the non-negative square root of Complex.

CMath.sqrt(-1 + 0i) #=> 0.0+1.0i