Skip to main content
FRAMES NO FRAMES

IlcAbs

public IlcIntExp IlcAbs(const IlcIntExp exp)
public IlcInt IlcAbs(IlcInt exp)
public IlcFloatExp IlcAbs(const IlcFloatExp exp)
public IlcFloat IlcAbs(IlcFloat exp)
Definition file: ilcp/cpext.h
Include file: <ilcp/cpext.h>
Returns an absolute value expression.

This function creates a new constrained expression equal to the absolute value of its constrained argument exp. The effects of this function are reversible.

If its argument is a numeric expression (for example, an ordinary floating-point number), this function simply returns the absolute value of its argument.

See Also: