klyn.math.Math.abs
method
public static abs(value as Complex<Float>) as Double:
Description

Returns the magnitude of a single-precision complex number.

import klyn.math

z = Complex<Float>(3.0f, 4.0f)
print(Math.abs(z))   # 5.0