Searched refs:negate (Results 1 - 25 of 126) sorted by relevance

123456

/openjdk10/jaxp/src/java.xml/share/classes/com/sun/org/apache/bcel/internal/generic/
H A DIfInstruction.java49 * @return negation of instruction, e.g. IFEQ.negate() == IFNE
51 public abstract IfInstruction negate(); method in class:IfInstruction
H A DIF_ACMPNE.java50 public IfInstruction negate() { method in class:IF_ACMPNE
H A DIF_ACMPEQ.java50 public IfInstruction negate() { method in class:IF_ACMPEQ
H A DIF_ICMPEQ.java50 public IfInstruction negate() { method in class:IF_ICMPEQ
H A DIFNONNULL.java50 public IfInstruction negate() { method in class:IFNONNULL
H A DIFGT.java50 public IfInstruction negate() { method in class:IFGT
H A DIFLE.java50 public IfInstruction negate() { method in class:IFLE
H A DIFLT.java50 public IfInstruction negate() { method in class:IFLT
H A DIFNE.java50 public IfInstruction negate() { method in class:IFNE
H A DIFNULL.java50 public IfInstruction negate() { method in class:IFNULL
H A DIF_ICMPNE.java50 public IfInstruction negate() { method in class:IF_ICMPNE
H A DIF_ICMPLE.java50 public IfInstruction negate() { method in class:IF_ICMPLE
H A DIF_ICMPLT.java50 public IfInstruction negate() { method in class:IF_ICMPLT
H A DIF_ICMPGE.java50 public IfInstruction negate() { method in class:IF_ICMPGE
H A DIF_ICMPGT.java50 public IfInstruction negate() { method in class:IF_ICMPGT
H A DIFEQ.java47 * @return negation of instruction, e.g. IFEQ.negate() == IFNE
50 public IfInstruction negate() { method in class:IFEQ
H A DIFGE.java50 public IfInstruction negate() { method in class:IFGE
/openjdk10/jdk/test/java/math/BigInteger/
H A DCompareToTests.java37 final BigInteger MINUS_ONE = BigInteger.ONE.negate();
53 {TWO_POW_127.negate(), TWO_POW_127, MINUS_ONE},
56 {TWO_POW_128.or(TWO_POW_126), TWO_POW_128.negate(), ONE},
59 {TWO_POW_128.negate(), TWO_POW_128.or(TWO_POW_126), MINUS_ONE},
62 {TWO_POW_127.negate(), TWO_POW_128, MINUS_ONE},
65 {TWO_POW_128.negate(), TWO_POW_127, MINUS_ONE},
69 {valueOf(Long.MAX_VALUE).negate(), valueOf(Long.MAX_VALUE), MINUS_ONE},
72 {valueOf(Long.MAX_VALUE-1).negate(), valueOf(Long.MAX_VALUE), MINUS_ONE},
75 {valueOf(Long.MIN_VALUE).negate(), valueOf(Long.MAX_VALUE), ONE},
78 {valueOf(Long.MIN_VALUE+1).negate(), valueO
[all...]
/openjdk10/jdk/test/java/math/BigDecimal/
H A DCompareToTests.java37 final BigDecimal MINUS_ONE = BigDecimal.ONE.negate();
57 {valueOf(Long.MAX_VALUE).negate(), valueOf(Long.MAX_VALUE), MINUS_ONE},
60 {valueOf(Long.MAX_VALUE-1).negate(), valueOf(Long.MAX_VALUE), MINUS_ONE},
63 {valueOf(Long.MIN_VALUE).negate(), valueOf(Long.MAX_VALUE), ONE},
66 {valueOf(Long.MIN_VALUE+1).negate(), valueOf(Long.MAX_VALUE), ZERO},
69 {valueOf(Long.MAX_VALUE).negate(), valueOf(Long.MIN_VALUE), ONE},
72 {valueOf(Long.MAX_VALUE-1).negate(), valueOf(Long.MIN_VALUE), ONE},
75 {valueOf(Long.MIN_VALUE).negate(), valueOf(Long.MIN_VALUE), ONE},
78 {valueOf(Long.MIN_VALUE+1).negate(), valueOf(Long.MIN_VALUE), ONE},
83 BigDecimal a_negate = a.negate();
[all...]
H A DScaleByPowerOfTenTests.java47 bd = BigDecimal.ONE.negate().scaleByPowerOfTen(i);
48 if (!bd.equals(expected = new BigDecimal(BigInteger.ONE.negate(), -i))) {
/openjdk10/jdk/src/java.base/share/classes/java/util/function/
H A DDoublePredicate.java80 default DoublePredicate negate() { method in interface:DoublePredicate
H A DIntPredicate.java80 default IntPredicate negate() { method in interface:IntPredicate
H A DLongPredicate.java80 default LongPredicate negate() { method in interface:LongPredicate
/openjdk10/jdk/test/java/util/Formatter/
H A DBasicDoubleObject.java325 private static Double negate(Double v) { method in class:BasicDoubleObject
939 test("%10.3e", "-3.142e+00", negate(pi));
941 test("%010.3e", "-3.142e+00", negate(pi));
943 test("%-12.3e", "-3.142e+00 ", negate(pi));
945 test("%.3e", "-3.142e+00", negate(pi));
986 test("%+.3e", "-3.142e+00", negate(pi));
988 test("% .3e", "-3.142e+00", negate(pi));
1031 test("%10.3f", " -3.142", negate(pi));
1033 test("%010.3f", "-00003.142", negate(pi));
1035 test("%-10.3f", "-3.142 ", negate(p
[all...]
H A DBasicFloatObject.java290 private static Float negate(Float v) { method in class:BasicFloatObject
939 test("%10.3e", "-3.142e+00", negate(pi));
941 test("%010.3e", "-3.142e+00", negate(pi));
943 test("%-12.3e", "-3.142e+00 ", negate(pi));
945 test("%.3e", "-3.142e+00", negate(pi));
986 test("%+.3e", "-3.142e+00", negate(pi));
988 test("% .3e", "-3.142e+00", negate(pi));
1031 test("%10.3f", " -3.142", negate(pi));
1033 test("%010.3f", "-00003.142", negate(pi));
1035 test("%-10.3f", "-3.142 ", negate(p
[all...]

Completed in 131 milliseconds

123456