Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for times2ToThe32Mod (0.19 sec)

  1. guava/src/com/google/common/math/LongMath.java

             *
             * We carry out this computation in modular arithmetic. Since times2ToThe32Mod accepts any
             * unsigned long, we don't have to do a mod on every operation, only when intermediate
             * results can exceed 2^63.
             */
            long result = times2ToThe32Mod(aHi * bHi /* < 2^62 */, m); // < m < 2^63
            result += aHi * bLo; // aHi * bLo < 2^63, result < 2^64
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 09 16:39:37 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/math/LongMath.java

             *
             * We carry out this computation in modular arithmetic. Since times2ToThe32Mod accepts any
             * unsigned long, we don't have to do a mod on every operation, only when intermediate
             * results can exceed 2^63.
             */
            long result = times2ToThe32Mod(aHi * bHi /* < 2^62 */, m); // < m < 2^63
            result += aHi * bLo; // aHi * bLo < 2^63, result < 2^64
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 09 16:39:37 UTC 2024
    - 45.2K bytes
    - Viewed (0)
Back to top