Class ModularArithmetic


  • @Deprecated
    public class ModularArithmetic
    extends Object
    Deprecated.
    since 10.0
    For compatibility
    Author:
    Manik Surtani
    • Field Detail

      • CANNOT_ASSUME_DENOM_IS_POWER_OF_TWO

        public static final boolean CANNOT_ASSUME_DENOM_IS_POWER_OF_TWO
        Deprecated.
    • Constructor Detail

      • ModularArithmetic

        public ModularArithmetic()
        Deprecated.
    • Method Detail

      • mod

        public static final int mod​(int numerator,
                                    int denominator)
        Deprecated.
      • mod

        public static final long mod​(long numerator,
                                     int denominator)
        Deprecated.