Home
last modified time | relevance | path

Searched refs:NEGATIVE_ZERO (Results 1 – 4 of 4) 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.java88 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.java149 public static final short NEGATIVE_ZERO = (short) 0x8000; field in FP16
/libcore/mmodules/core_platform_api/api/legacy_platform/
Dcurrent-api.txt1068 field public static final short NEGATIVE_ZERO = -32768; // 0xffff8000