Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for mul19 (0.04 sec)

  1. lib/fips140/v1.1.0-rc1.zip

    bits.Mul64(a, b) lo, c := bits.Add64(lo, v.lo, 0) hi, _ = bits.Add64(hi, v.hi, c) return uint128{lo, hi} } // mul19 returns v * 19. func mul19(v uint64) uint64 { // Using this approach seems to yield better optimizations than *19. return v + (v+v<<3)<<1 } // addMul19 returns v + 19 * a * b, where a and b are at most 52 bits. func addMul19(v uint128, a, b uint64) uint128 { hi, lo := bits.Mul64(mul19(a), b) lo, c := bits.Add64(lo, v.lo, 0) hi, _ = bits.Add64(hi, v.hi, c) return uint128{lo, hi} } // addMul38...
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Thu Dec 11 16:27:41 UTC 2025
    - 663K bytes
    - Viewed (0)
Back to top