Package org.apfloat.internal
Interface DoubleModConstants
-
public interface DoubleModConstantsConstants needed for various modular arithmetic operations for thedoubletype.- Version:
- 1.0
-
-
Field Summary
Fields Modifier and Type Field Description static doubleMAX_POWER_OF_TWO_BASEMaximum power-of-two base that fits in adouble.static intMAX_POWER_OF_TWO_BITSMaximum bits in a power-of-two base that fits in adouble.static longMAX_TRANSFORM_LENGTHMaximum transform length for the moduli.static double[]MODULUSModuli to be used in number theoretic transforms.static double[]PRIMITIVE_ROOTPrimitive roots for the corresponding moduli.
-
-
-
Field Detail
-
MODULUS
static final double[] MODULUS
Moduli to be used in number theoretic transforms. Allows transform lengths upto 3*243.
-
PRIMITIVE_ROOT
static final double[] PRIMITIVE_ROOT
Primitive roots for the corresponding moduli.
-
MAX_TRANSFORM_LENGTH
static final long MAX_TRANSFORM_LENGTH
Maximum transform length for the moduli.- See Also:
- Constant Field Values
-
MAX_POWER_OF_TWO_BITS
static final int MAX_POWER_OF_TWO_BITS
Maximum bits in a power-of-two base that fits in adouble.- See Also:
- Constant Field Values
-
MAX_POWER_OF_TWO_BASE
static final double MAX_POWER_OF_TWO_BASE
Maximum power-of-two base that fits in adouble.- See Also:
- Constant Field Values
-
-