Gets the maximum value for a N‐bit signed integer.

Synopsis

Declared in <llvm/Support/MathExtras.h>

constexpr
int64_t
maxIntN(int64_t N);

Return Value

The maximum value of an N‐bit signed integer.

Parameters

Name

Description

N

Signed bit width; must be at most 64.

Created with MrDocs