llvm::APFloat::isNegPowerOf2

Return true if this value is exactly -(2^N).

Synopsis

Declared in <llvm/ADT/APFloat.h>

bool
isNegPowerOf2(int N) const;

Return Value

true if this value is exactly -(2^N)

Parameters

NameDescription
Npower-of-two exponent to test for