Package org.apfloat.internal
Interface FloatModConstants
public interface FloatModConstants
Constants needed for various modular arithmetic operations for the
float
type.- Version:
- 1.0
- Author:
- Mikko Tommila
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final float
Maximum power-of-two base that fits in afloat
.static final int
Maximum bits in a power-of-two base that fits in afloat
.static final long
Maximum transform length for the moduli.static final float[]
Moduli to be used in number theoretic transforms.static final float[]
Primitive roots for the corresponding moduli.
-
Field Details
-
MODULUS
static final float[] MODULUSModuli to be used in number theoretic transforms. Allows transform lengths upto 3*217. -
PRIMITIVE_ROOT
static final float[] PRIMITIVE_ROOTPrimitive roots for the corresponding moduli. -
MAX_TRANSFORM_LENGTH
static final long MAX_TRANSFORM_LENGTHMaximum transform length for the moduli.- See Also:
-
MAX_POWER_OF_TWO_BITS
static final int MAX_POWER_OF_TWO_BITSMaximum bits in a power-of-two base that fits in afloat
.- See Also:
-
MAX_POWER_OF_TWO_BASE
static final float MAX_POWER_OF_TWO_BASEMaximum power-of-two base that fits in afloat
.- See Also:
-