- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for nonnegative (0.27 sec)
-
guava/src/com/google/common/math/ToDoubleRounder.java
abstract int sign(X x); /** Returns d's value as an X, rounded with the specified mode. */ abstract X toX(double d, RoundingMode mode); /** Returns a - b, guaranteed that both arguments are nonnegative. */ abstract X minus(X a, X b); /** Rounds {@code x} to a {@code double}. */ final double roundToDouble(X x, RoundingMode mode) { checkNotNull(x, "x"); checkNotNull(mode, "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) -
android/guava/src/com/google/common/math/ToDoubleRounder.java
abstract int sign(X x); /** Returns d's value as an X, rounded with the specified mode. */ abstract X toX(double d, RoundingMode mode); /** Returns a - b, guaranteed that both arguments are nonnegative. */ abstract X minus(X a, X b); /** Rounds {@code x} to a {@code double}. */ final double roundToDouble(X x, RoundingMode mode) { checkNotNull(x, "x"); checkNotNull(mode, "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/cmd/go/internal/vcweb/vcstest/vcstest_test.go
dir = flag.String("dir", "../../../testdata/vcstest", "directory containing scripts to serve") host = flag.String("host", "localhost", "hostname on which to serve HTTP") port = flag.Int("port", -1, "port on which to serve HTTP; if nonnegative, skips running tests") ) func TestMain(m *testing.M) { flag.Parse() if *port >= 0 { err := serveStandalone(*host, *port) if err != nil { log.Fatal(err) } os.Exit(0) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 11 16:04:21 UTC 2022 - 3.9K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/UnsignedInteger.java
* interpreted as an unsigned 32-bit value. Specifically, the sign bit of {@code bits} is * interpreted as a normal bit, and all other bits are treated as usual. * * <p>If the argument is nonnegative, the returned result will be equal to {@code bits}, * otherwise, the result will be equal to {@code 2^32 + bits}. * * <p>To represent unsigned decimal constants, consider {@link #valueOf(long)} instead. *
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 23 18:45:50 UTC 2023 - 8.3K bytes - Viewed (0) -
guava/src/com/google/common/primitives/UnsignedInteger.java
* interpreted as an unsigned 32-bit value. Specifically, the sign bit of {@code bits} is * interpreted as a normal bit, and all other bits are treated as usual. * * <p>If the argument is nonnegative, the returned result will be equal to {@code bits}, * otherwise, the result will be equal to {@code 2^32 + bits}. * * <p>To represent unsigned decimal constants, consider {@link #valueOf(long)} instead. *
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 23 18:45:50 UTC 2023 - 8.3K bytes - Viewed (0)