abs

Calculates the absolute value

For complex numbers, abs(z) = sqrt( z.re2 + z.im2 ) = hypot(z.re, z.im).

  1. real abs(real x)
  2. long abs(long x)
  3. int abs(int x)
  4. real abs(creal z)
  5. real abs(ireal y)
    deprecated
    real
    abs
    (
    ireal y
    )

Meta