Checks if an integer fits into the given bit width.

Synopsis

Declared in <llvm/Support/MathExtras.h>

template<unsigned int N>
constexpr
bool
isInt(int64_t x);

Return Value

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

Parameters

Name

Description

x

Signed value to test.

Created with MrDocs