Checks if an signed integer fits into the given (dynamic) bit width.

Synopsis

Declared in <llvm/Support/MathExtras.h>

constexpr
bool
isIntN(
    unsigned int N,
    int64_t x);

Return Value

True if x fits in an N‐bit signed integer.

Parameters

Name

Description

N

Bit width to test against.

x

Signed value to test.

Created with MrDocs