15 #ifndef GEOS_PRECISION_COMMONBITS_H
16 #define GEOS_PRECISION_COMMONBITS_H
18 #include <geos/export.h>
19 #include <geos/constants.h>
39 int commonMantissaBitsCount;
86 static int getBit(int64 bits,
int i);
Determines the maximum number of common most-significant bits in the mantissa of one or numbers.
Definition: CommonBits.h:33
static int numCommonMostSigMantissaBits(int64 num1, int64 num2)
This computes the number of common most-significant bits in the mantissas of two double-precision num...
static int getBit(int64 bits, int i)
Extracts the i'th bit of a bitstring.
static int64 zeroLowerBits(int64 bits, int nBits)
Zeroes the lower n bits of a bitstring.
static int64 signExpBits(int64 num)
Computes the bit pattern for the sign and exponent of a double-precision number.
Basic namespace for all GEOS functionalities.
Definition: IndexedNestedRingTester.h:26