Return true if signed ceil/floor division would overflow.
Synopsis
Declared in <llvm/Support/MathExtras.h>
template<
typename U,
typename V>
constexpr
bool
divideSignedWouldOverflow(
U Numerator,
V Denominator);
Description
This happens only when Numerator = INT_MIN and Denominator = ‐1.
Return Value
True if signed division of Numerator by Denominator would overflow.
Parameters
Name |
Description |
Numerator |
Dividend. |
Denominator |
Divisor. |
Created with MrDocs