Searched defs:zero (Results 1 - 6 of 6) sorted by relevance
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/math/ |
H A D | BigIntegerTest.java | 29 BigInteger zero = new BigInteger("0", 10); field in class:BigIntegerTest 94 assertTrue("Random number is negative", bi.compareTo(zero) >= 0); 100 assertTrue("Not zero", new BigInteger(0, rand).equals(BigInteger.ZERO)); 131 assertTrue("Incorrect value for zero", bi.equals(zero)); 217 assertTrue("0=0", zero.equals(BigInteger.valueOf(0))); 220 assertTrue("0=1", !zero.equals(one)); 221 assertTrue("0=-1", !zero.equals(minusOne)); 273 assertTrue("0+0", zero.add(zero) [all...] |
/libcore/ojluni/src/main/java/java/lang/ |
H A D | FloatingDecimal.java | 88 // the strategy is to shift until we get a non-zero sign bit 285 * lvalue > 0L (not zero, nor negative). 448 digits = zero; 512 digits = zero; 720 * was too high, our first quotient will be zero. In this 731 // oops. Usually ignore leading zero. 773 * was too high, our first quotient will be zero. In this 784 // oops. Usually ignore leading zero. 838 * was too high, our first quotient will be zero. In this 848 // oops. Usually ignore leading zero 1925 private static final char zero[] = { '0', '0', '0', '0', '0', '0', '0', '0' }; field in class:FloatingDecimal [all...] |
/libcore/ojluni/src/main/java/sun/misc/ |
H A D | FormattedFloatingDecimal.java | 105 // the strategy is to shift until we get a non-zero sign bit 302 * lvalue > 0L (not zero, nor negative). 513 digits = zero; 580 digits = zero; 787 * was too high, our first quotient will be zero. In this 798 // oops. Usually ignore leading zero. 840 * was too high, our first quotient will be zero. In this 851 // oops. Usually ignore leading zero. 905 * was too high, our first quotient will be zero. In this 915 // oops. Usually ignore leading zero 1766 private static final char zero[] = { '0', '0', '0', '0', '0', '0', '0', '0' }; field in class:FormattedFloatingDecimal [all...] |
/libcore/jsr166-tests/src/test/java/jsr166/ |
H A D | CompletableFutureTest.java | 5 * http://creativecommons.org/publicdomain/zero/1.0/ 3789 public ZeroException() { super("monadic zero"); } 3795 // monadic zero ? 3796 static <T> CompletableFuture<T> zero() { method in class:CompletableFutureTest.Monad 3879 CompletableFuture<Long> zero = Monad.zero(); 3901 // zero is a monadic zero 3902 Monad.assertZero(zero); 3904 // left zero [all...] |
H A D | JSR166TestCase.java | 4 * http://creativecommons.org/publicdomain/zero/1.0/ 91 * discriminable from zero time, and always allows enough time for the 1066 public static final Integer zero = new Integer(0); field in class:JSR166TestCase
|
/libcore/ojluni/src/main/java/java/util/ |
H A D | Formatter.java | 375 * a leading zero as necessary i.e. {@code 00 - 23}. 379 * zero as necessary, i.e. {@code 01 - 12}. 388 * <td> Minute within the hour formatted as two digits with a leading zero 393 * zero as necessary, i.e. {@code 00 - 60} ("{@code 60}" is a special 466 * with leading zero as necessary, i.e. {@code 00 - 99} 572 * <td> The result will be zero-padded 845 * {@linkplain java.text.DecimalFormatSymbols#getZeroDigit() zero digit} 862 * java.text.DecimalFormatSymbols#getZeroDigit() zero digits} are inserted 863 * after the sign character, if any, and before the first non-zero digit, until 870 * <li> If the value is negative (or floating-point negative zero) an 1845 private final char zero; field in class:Formatter [all...] |
Completed in 264 milliseconds