llvm::abs

abs overloads

Synopses

Declared in <llvm/ADT/DynamicAPInt.h>

Returns the absolute value of the argument.

APFloat
abs(APFloat X);
» more...

Returns the absolute value of X.

DynamicAPInt
abs(DynamicAPInt const& X);
» more...

Return Value

  • the absolute value of X
  • Absolute value of X.

Parameters

NameDescription
Xvalue whose absolute value is returned