sqrt(z)
Class Public methods
Returns the non-negative square root of Complex.
sqrt(-1) #=> 0+1.0i sqrt(Complex(-1,0)) #=> 0.0+1.0i sqrt(Complex(0,8)) #=> 2.0+2.0i
Returns the non-negative square root of Complex.
sqrt(-1) #=> 0+1.0i sqrt(Complex(-1,0)) #=> 0.0+1.0i sqrt(Complex(0,8)) #=> 2.0+2.0i
Please login to continue.