method

tan

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

returns the tangent of z, where z is given in radians

CMath.tan(1 + 1i) #=> (0.27175258531951174+1.0839233273386943i)