Perform a unary negation (‐X) on this fixed point type, taking into account saturation if applicable.

Synopsis

Declared in <llvm/ADT/APFixedPoint.h>

APFixedPoint
negate(bool* Overflow = nullptr) const;

Return Value

Negated value of this fixed‐point number.

Parameters

Name

Description

Overflow

Optional overflow out‐parameter.

Created with MrDocs