Maven module :un.api : api-common :
Class :
un.api.number.Numbers
Extends/Implements : -
Subclasses : -
Variables :
HEXA
Functions :
isNotPowOfTwo,
nextPowOfTwo,
reverseBits,
setBit,
setBit,
countBitsSet,
pow,
pow
public byte[]
HEXA
public boolean
isNotPowOfTwo (int n)
public int
nextPowOfTwo (int n)
public int
reverseBits (int i, int nBits)
public int
setBit (int value, boolean bit, int offset)
public long
setBit (long value, boolean bit, int offset)
public int
countBitsSet (int i)
public float
pow (float x, int n)
public double
pow (double x, int n)
author Bertrand Cote
author Johann Sorel