Interface LongConstants


public interface LongConstants
Constants needed for various algorithms for the long type.
Since:
1.4
Version:
1.4
Author:
Mikko Tommila
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static float
    Relative cost of Karatsuba multiplication.
    static float
    Relative cost of NTT multiplication.
  • Field Details

    • KARATSUBA_COST_FACTOR

      static final float KARATSUBA_COST_FACTOR
      Relative cost of Karatsuba multiplication.
      See Also:
      Constant Field Values
    • NTT_COST_FACTOR

      static final float NTT_COST_FACTOR
      Relative cost of NTT multiplication.
      See Also:
      Constant Field Values