Lines Matching refs:result
133 private static void expectEquals32(int expected, int result) { in expectEquals32() argument
134 if (expected != result) { in expectEquals32()
136 + ", found: 0x" + Integer.toHexString(result)); in expectEquals32()
141 private static void expectEqualsNaN32(int expected, int result) { in expectEqualsNaN32() argument
142 if (expected != result && (expected | SPQUIET) != result) { in expectEqualsNaN32()
146 if (expected == (result & Integer.MAX_VALUE)) { in expectEqualsNaN32()
151 + ", found: 0x" + Integer.toHexString(result)); in expectEqualsNaN32()
155 private static void expectEquals64(long expected, long result) { in expectEquals64() argument
156 if (expected != result) { in expectEquals64()
158 + ", found: 0x" + Long.toHexString(result)); in expectEquals64()
163 private static void expectEqualsNaN64(long expected, long result) { in expectEqualsNaN64() argument
164 if (expected != result && (expected | DPQUIET) != result) { in expectEqualsNaN64()
168 if (expected == (result & Long.MAX_VALUE)) { in expectEqualsNaN64()
173 + ", found: 0x" + Long.toHexString(result)); in expectEqualsNaN64()
177 private static void expectEqualsSP(float expected, float result) { in expectEqualsSP() argument
178 if (expected != result) { in expectEqualsSP()
179 throw new Error("Expected: " + expected + ", found: " + result); in expectEqualsSP()
183 private static void expectEqualsDP(double expected, double result) { in expectEqualsDP() argument
184 if (expected != result) { in expectEqualsDP()
185 throw new Error("Expected: " + expected + ", found: " + result); in expectEqualsDP()