NAME
    abs - absolute value

SYNOPSIS
    abs(x [,acc])

TYPES
    x		real, complex, object (calls xx_abs)
    acc		real

    return	real

DESCRIPTION
    Return the absolute value of x.  If x is real, acc is ignored,
    otherwise acc specifies the accuracy of the result.  By default,
    acc is epsilon().

EXAMPLE
    > print abs(3.4), abs(-3.4)
    3.4 3.4

    > print abs(3+4i), abs(4+5i), abs(4+5i, 0.1)
    5 ~6.40312423743284868648 6.40234375

LIMITS
    acc > 0

LIBRARY
    void absvalue(VALUE *x, *acc, *ret)

SEE ALSO
    cmp, epsilon, hypot, norm, obj
