- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 587 for rounds (0.57 sec)
-
src/cmd/compile/internal/types/size.go
var CalcSizeDisabled bool // machine size and rounding alignment is dictated around // the size of a pointer, set in gc.Main (see ../gc/main.go). var defercalc int // RoundUp rounds o to a multiple of r, r is a power of 2. func RoundUp(o int64, r int64) int64 { if r < 1 || r > 8 || r&(r-1) != 0 { base.Fatalf("Round %d", r) } return (o + r - 1) &^ (r - 1) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 15K bytes - Viewed (0) -
src/net/tcpsock.go
ln, err := sl.listenTCP(context.Background(), laddr) if err != nil { return nil, &OpError{Op: "listen", Net: network, Source: nil, Addr: laddr.opAddr(), Err: err} } return ln, nil } // roundDurationUp rounds d to the next multiple of to. func roundDurationUp(d time.Duration, to time.Duration) time.Duration { return (d + to - 1) / to
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 15 03:10:07 UTC 2024 - 13.7K bytes - Viewed (0) -
android/guava/src/com/google/common/math/LongMath.java
checkNotNull(mode); long div = p / q; // throws if q == 0 long rem = p - q * div; // equals p % q if (rem == 0) { return div; } /* * Normal Java division rounds towards 0, consistently with RoundingMode.DOWN. We just have to * deal with the cases where rounding towards 0 is wrong, which typically depends on the sign of * p / q. *
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 07 17:50:39 UTC 2024 - 44.6K bytes - Viewed (0) -
src/strconv/atof_test.go
{"0x0.1234567p-125", "1.671814e-39", nil}, // rounded down {"0x0.1234568p-125", "1.671814e-39", nil}, // rounded down {"0x0.1234569p-125", "1.671815e-39", nil}, // rounded up {"0x0.1234570p-125", "1.671815e-39", nil}, // 0x00123457 {"0x0.0000010p-125", "1e-45", nil}, // 0x00000001 {"0x0.00000081p-125", "1e-45", nil}, // rounded up {"0x0.0000008p-125", "0", nil}, // rounded down
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 26 16:24:57 UTC 2022 - 23.6K bytes - Viewed (0) -
guava/src/com/google/common/math/LongMath.java
checkNotNull(mode); long div = p / q; // throws if q == 0 long rem = p - q * div; // equals p % q if (rem == 0) { return div; } /* * Normal Java division rounds towards 0, consistently with RoundingMode.DOWN. We just have to * deal with the cases where rounding towards 0 is wrong, which typically depends on the sign of * p / q. *
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 07 17:50:39 UTC 2024 - 44.6K bytes - Viewed (0) -
src/crypto/tls/cipher_suites.go
// // The only potential advantages of AES-256 are better multi-target // margins, and hypothetical post-quantum properties. Neither apply to // TLS, and AES-256 is slower due to its four extra rounds (which don't // contribute to the advantages above). // // - ECDSA comes before RSA // // The relative order of ECDSA and RSA cipher suites doesn't matter,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 25.5K bytes - Viewed (0) -
src/crypto/md5/md5block_arm.s
ROUND1(Rb, Rc, Rd, Ra, 3, 22, Rc3) MOVM.IA.W (Rtable), [Rc0,Rc1,Rc2,Rc3] ROUND1(Ra, Rb, Rc, Rd, 4, 7, Rc0) ROUND1(Rd, Ra, Rb, Rc, 5, 12, Rc1) ROUND1(Rc, Rd, Ra, Rb, 6, 17, Rc2) ROUND1(Rb, Rc, Rd, Ra, 7, 22, Rc3) MOVM.IA.W (Rtable), [Rc0,Rc1,Rc2,Rc3] ROUND1(Ra, Rb, Rc, Rd, 8, 7, Rc0) ROUND1(Rd, Ra, Rb, Rc, 9, 12, Rc1) ROUND1(Rc, Rd, Ra, Rb, 10, 17, Rc2) ROUND1(Rb, Rc, Rd, Ra, 11, 22, Rc3)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:29:44 UTC 2024 - 8.8K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/magic.go
// What remains is to choose e. // Let m = 2^e/c + delta, 0 <= delta < 1 // ⎣x * (2^e/c + delta) / 2^e⎦ // ⎣x / c + x * delta / 2^e⎦ // We must have x * delta / 2^e < 1/c so that this // additional term never rounds differently than ⎣x / c⎦ does. // Rearranging, // 2^e > x * delta * c // x can be at most 2^n-1 and delta can be at most 1. // So it is sufficient to have 2^e >= 2^n*c. // So we'll choose e = n + s, with s = ⎡log2(c)⎤.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 26 19:58:25 UTC 2024 - 15.8K bytes - Viewed (0) -
guava/src/com/google/common/math/IntMath.java
} int div = p / q; int rem = p - q * div; // equal to p % q if (rem == 0) { return div; } /* * Normal Java division rounds towards 0, consistently with RoundingMode.DOWN. We just have to * deal with the cases where rounding towards 0 is wrong, which typically depends on the sign of * p / q. *
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 07 17:50:39 UTC 2024 - 23.5K bytes - Viewed (0) -
src/crypto/md5/md5block_arm64.s
ROUND2(R4,R5,R6,R7,10,0xd62f105d, 5); ROUND2(R7,R4,R5,R6,15, 0x2441453, 9); ROUND2(R6,R7,R4,R5, 4,0xd8a1e681,14); ROUND2(R5,R6,R7,R4, 9,0xe7d3fbc8,20); ROUND2(R4,R5,R6,R7,14,0x21e1cde6, 5); ROUND2(R7,R4,R5,R6, 3,0xc33707d6, 9); ROUND2(R6,R7,R4,R5, 8,0xf4d50d87,14); ROUND2(R5,R6,R7,R4,13,0x455a14ed,20); ROUND2(R4,R5,R6,R7, 2,0xa9e3e905, 5); ROUND2(R7,R4,R5,R6, 7,0xfcefa3f8, 9); ROUND2(R6,R7,R4,R5,12,0x676f02d9,14);
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:29:44 UTC 2024 - 4.1K bytes - Viewed (0)