17#include <geos/export.h>
32class GEOS_DLL CommonBits {
38 int commonMantissaBitsCount;
42 int64_t commonSignExp;
85 static int getBit(int64_t bits,
int i);
static int64_t zeroLowerBits(int64_t bits, int nBits)
Zeroes the lower n bits of a bitstring.
static int getBit(int64_t bits, int i)
Extracts the i'th bit of a bitstring.
static int64_t signExpBits(int64_t num)
Computes the bit pattern for the sign and exponent of a double-precision number.
static int numCommonMostSigMantissaBits(int64_t num1, int64_t num2)
This computes the number of common most-significant bits in the mantissas of two double-precision num...
Provides classes for manipulating the precision model of Geometries.
Definition namespaces.h:300
Basic namespace for all GEOS functionalities.
Definition geos.h:39