Definition: atom x2 = abs(atom x1)
Description: Calculate the absolute (unsigned) value of x1.
Comments: This function may be applied to an atom or sq_abs() to all elements of a sequence. The rules for sequence operations apply.
r = abs(-4)
-- r is 4
Implementation: See builtins\pmaths.e (an autoinclude) for details of the actual implementation.