The log base 2, rounded towards INT32_MAX.

Synopsis

Declared in <llvm/Support/ScaledNumber.h>

int32_t
lgCeiling() const;

Description

Get the lg ceiling. lg 0 is defined to be INT32_MIN.

Return Value

Ceiling of the log base 2 of this number, or INT32_MIN if zero.

Created with MrDocs