- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 310 for roundup (0.25 sec)
-
src/math/big/float.go
// considered "1.0", for p == 0, the mantissa value m is >= 0.5. // If m > 0.5, it is rounded up to 1.0; i.e., the smallest denormal. // If m == 0.5, it is rounded down to even, i.e., 0.0. // If p < 0, the mantissa value m is <= "0.25" which is never rounded up. if p < 0 /* m <= 0.25 */ || p == 0 && x.mant.sticky(uint(len(x.mant))*_W-1) == 0 /* m == 0.5 */ { // underflow to ±0
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 06 15:46:54 UTC 2024 - 44.5K bytes - Viewed (0) -
docs/en/docs/img/deployment/https/https.drawio
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu May 12 00:06:16 UTC 2022 - 25.7K bytes - Viewed (0) -
docs/en/docs/img/deployment/https/https07.drawio
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu May 12 00:06:16 UTC 2022 - 18.7K bytes - Viewed (0) -
test/fixedbugs/bug470.go
import "fmt" const ( F32 = 0.00999999977648258209228515625 F64 = 0.01000000000000000020816681711721685132943093776702880859375 ) var F = float64(float32(0.01)) func main() { // 0.01 rounded to float32 then to float64 is F32. // 0.01 represented directly in float64 is F64. if F != F32 { panic(fmt.Sprintf("F=%.1000g, want %.1000g", F, F32)) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 608 bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/BigIntegerMathTest.java
int result = BigIntegerMath.log2(x, HALF_UP); BigInteger x2 = x.pow(2); // x^2 < 2^(2 * result + 1), or else we would have rounded up assertTrue(ZERO.setBit(2 * result + 1).compareTo(x2) > 0); // x^2 >= 2^(2 * result - 1), or else we would have rounded down assertTrue(result == 0 || ZERO.setBit(2 * result - 1).compareTo(x2) <= 0); } } public void testLog2HalfDown() {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri May 17 17:58:33 UTC 2024 - 27.8K bytes - Viewed (0) -
android/guava/src/com/google/common/math/DoubleMath.java
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 07 17:50:39 UTC 2024 - 18.9K bytes - Viewed (0) -
guava/src/com/google/common/math/DoubleMath.java
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 07 17:50:39 UTC 2024 - 18.9K bytes - Viewed (0) -
src/crypto/sha1/sha1block.go
for len(p) >= chunk { // Can interlace the computation of w with the // rounds below if needed for speed. for i := 0; i < 16; i++ { j := i * 4 w[i] = uint32(p[j])<<24 | uint32(p[j+1])<<16 | uint32(p[j+2])<<8 | uint32(p[j+3]) } a, b, c, d, e := h0, h1, h2, h3, h4 // Each of the four 20-iteration rounds // differs only in the computation of f and // the choice of K (_K0, _K1, etc). i := 0
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 03 21:27:16 UTC 2023 - 2.3K bytes - Viewed (0) -
android/guava/src/com/google/common/math/ToDoubleRounder.java
/** * Returns x rounded to either the greatest double less than or equal to the precise value of x, * or the least double greater than or equal to the precise value of x. */ abstract double roundToDoubleArbitrarily(X x); /** Returns the sign of x: either -1, 0, or 1. */ abstract int sign(X x); /** Returns d's value as an X, rounded with the specified mode. */
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 07 17:50:39 UTC 2024 - 5.8K bytes - Viewed (0) -
src/internal/syscall/unix/fallocate_freebsd_arm.go
// // The padding 0 argument is needed because the ARM calling convention requires that if an // argument (off in this case) needs double-word alignment (8-byte), the NCRN (next core // register number) is rounded up to the next even register number. // See https://github.com/ARM-software/abi-aa/blob/2bcab1e3b22d55170c563c3c7940134089176746/aapcs32/aapcs32.rst#parameter-passing
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 05 14:17:36 UTC 2023 - 1013 bytes - Viewed (0)