Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for nBits (0.05 sec)

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

                result *= n;
                result /= i;
              }
              return result;
            } else {
              int nBits = LongMath.log2(n, RoundingMode.CEILING);
    
              long result = 1;
              long numerator = n--;
              long denominator = 1;
    
              int numeratorBits = nBits;
              // This is an upper bound on log2(numerator, ceiling).
    
              /*
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Aug 29 16:20:07 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  2. lib/fips140/v1.0.0.zip

    expected) } _, err = NewModulus([]byte{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1}) if err == nil || err.Error() != expected { t.Errorf("NewModulus(1) got %q, want %q", err, expected) } } func makeTestValue(nbits int) []uint { n := nbits / _W x := make([]uint, n) for i := range n { x[i]-- } return x } func TestAddMulVVWSized(t *testing.T) { // Sized addMulVVW have architecture-specific implementations on // a number of architectures. Test that they match the generic //...
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Jan 29 15:10:35 UTC 2025
    - 635K bytes
    - Viewed (0)
Back to top