Home
last modified time | relevance | path

Searched refs:NEGATIVE_ZERO (Results 1 – 5 of 5) sorted by relevance

/libcore/luni/src/test/java/libcore/libcore/util/
DFP16Test.java33 assertEquals(NEGATIVE_ZERO, toHalf(-0.0f)); in testSingleToHalf()
50 assertEquals(NEGATIVE_ZERO, toHalf(-5.96046e-9f)); in testSingleToHalf()
94 assertEquals("-0x0.0p0", toHexString(NEGATIVE_ZERO)); in testHexString()
111 assertFalse(FP16.isInfinite(NEGATIVE_ZERO)); in testIsInfinite()
123 assertFalse(FP16.isNaN(NEGATIVE_ZERO)); in testIsNaN()
139 assertFalse(FP16.isNormalized(NEGATIVE_ZERO)); in testIsNormalized()
157 assertEquals(NEGATIVE_ZERO, FP16.ceil(NEGATIVE_ZERO)); in testCeil()
163 assertEquals(NEGATIVE_ZERO, FP16.ceil(toHalf(-0.2f))); in testCeil()
165 assertEquals(NEGATIVE_ZERO, FP16.ceil(toHalf(-0.7f))); in testCeil()
183 assertTrue(FP16.equals(NEGATIVE_ZERO, NEGATIVE_ZERO)); in testEquals()
[all …]
/libcore/json/src/main/java/org/json/
DJSONObject.java91 private static final Double NEGATIVE_ZERO = -0d; field in JSONObject
754 if (number.equals(NEGATIVE_ZERO)) { in numberToString()
/libcore/luni/src/main/java/libcore/util/
DFP16.java175 public static final short NEGATIVE_ZERO = (short) 0x8000; field in FP16
/libcore/ojluni/src/test/java/util/Arrays/
DSorting.java716 final int NEGATIVE_ZERO = Float.floatToIntBits(-0.0f); in compare() local
719 if (NEGATIVE_ZERO != Float.floatToIntBits(a[i])) { in compare()
737 final long NEGATIVE_ZERO = Double.doubleToLongBits(-0.0d); in compare() local
740 if (NEGATIVE_ZERO != Double.doubleToLongBits(a[i])) { in compare()
/libcore/api/
Dmodule-lib-current.txt740 field public static final short NEGATIVE_ZERO = -32768; // 0xffff8000