/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | StrictMathTest.java | 251 final int absMagnitudeBits = Float.floatToIntBits(StrictMath in test_copySign_FF() 253 final int negMagnitudeBits = Float.floatToIntBits(-StrictMath in test_copySign_FF() 258 absMagnitudeBits, Float.floatToIntBits(StrictMath.copySign( in test_copySign_FF() 265 final int resultBits = Float.floatToIntBits(StrictMath in test_copySign_FF() 762 .floatToIntBits(NEXTAFTER_FD_START_CASES[i][1]); in test_nextAfter_FD() 764 .floatToIntBits(NEXTAFTER_FD_START_CASES[i][2]); in test_nextAfter_FD() 768 final int resultBits = Float.floatToIntBits(StrictMath in test_nextAfter_FD() 777 final int equivalentBits = Float.floatToIntBits(new Float( in test_nextAfter_FD() 863 .floatToIntBits(NEXTAFTER_FD_START_CASES[i][1]); in test_nextUp_F() 864 final int resultBits = Float.floatToIntBits(StrictMath in test_nextUp_F() [all …]
|
D | FloatTest.java | 91 rawBits = Float.floatToIntBits(result); in doTestCompareRawBits() 175 int bits = Float.floatToIntBits(f); in test_floatToIntBitsF() 208 .floatToIntBits(1908.8786f)); in test_hashCode() 212 .floatToIntBits(-1.112f)); in test_hashCode() 215 assertTrue("Returned invalid hash code for 0", f.hashCode() == Float.floatToIntBits(0f)); in test_hashCode() 224 int bits = Float.floatToIntBits(f); in test_intBitsToFloatI() 492 String expectedString = Integer.toHexString(Float.floatToIntBits(expected)); in test_parseFloat_LString_NormalPositiveExponent() 493 String actualString = Integer.toHexString(Float.floatToIntBits(actual)); in test_parseFloat_LString_NormalPositiveExponent() 541 String expectedString = Integer.toHexString(Float.floatToIntBits(expected)); in test_parseFloat_LString_NormalNegativeExponent() 542 String actualString = Integer.toHexString(Float.floatToIntBits(actual)); in test_parseFloat_LString_NormalNegativeExponent() [all …]
|
D | MathTest.java | 242 final int absMagnitudeBits = Float.floatToIntBits(Math in test_copySign_FF() 244 final int negMagnitudeBits = Float.floatToIntBits(-Math in test_copySign_FF() 249 absMagnitudeBits, Float.floatToIntBits(Math.copySign( in test_copySign_FF() 256 final int resultBits = Float.floatToIntBits(Math.copySign( in test_copySign_FF() 940 .floatToIntBits(NEXTAFTER_FD_START_CASES[i][1]); in test_nextAfter_FD() 942 .floatToIntBits(NEXTAFTER_FD_START_CASES[i][2]); in test_nextAfter_FD() 946 final int resultBits = Float.floatToIntBits(Math.nextAfter( in test_nextAfter_FD() 955 final int equivalentBits = Float.floatToIntBits(new Float( in test_nextAfter_FD() 1040 .floatToIntBits(NEXTAFTER_FD_START_CASES[i][1]); in test_nextUp_F() 1041 final int resultBits = Float.floatToIntBits(Math.nextUp(start)); in test_nextUp_F() [all …]
|
/libcore/ojluni/src/main/java/java/lang/ |
D | Float.java | 722 return floatToIntBits(value); in hashCode() 754 && (floatToIntBits(((Float)obj).value) == floatToIntBits(value)); in equals() 789 public static int floatToIntBits(float value) { in floatToIntBits() method in Float 965 int thisBits = Float.floatToIntBits(f1); in compare() 966 int anotherBits = Float.floatToIntBits(f2); in compare()
|
/libcore/ojluni/src/test/java/lang/Float/ |
D | BitwiseConversionTest.java | 55 int converted = floatToIntBits(value); in testNanCase() 70 Assert.assertEquals (floatToIntBits(Float.POSITIVE_INFINITY), 0x7F800000, in testFloatToIntBits() 73 Assert.assertEquals(floatToIntBits(Float.NEGATIVE_INFINITY), 0xFF800000, in testFloatToIntBits()
|
D | ParseFloatTest.java | 112 if ((Float.floatToIntBits(n) & 1) != 0) { in check()
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | OldFloatTest.java | 52 assertEquals(0x7f800000, Float.floatToIntBits(Float.POSITIVE_INFINITY)); in test_floatToIntBitsF() 53 assertEquals(0xff800000, Float.floatToIntBits(Float.NEGATIVE_INFINITY)); in test_floatToIntBitsF() 54 assertEquals(0x7fc00000, Float.floatToIntBits(Float.NaN)); in test_floatToIntBitsF()
|
D | OldAndroidStrictMathTest.java | 482 assertEquals(Float.floatToIntBits(0.0f), Float in testSignumF() 483 .floatToIntBits(StrictMath.signum(0.0f))); in testSignumF() 484 assertEquals(Float.floatToIntBits(+0.0f), Float in testSignumF() 485 .floatToIntBits(StrictMath.signum(+0.0f))); in testSignumF() 486 assertEquals(Float.floatToIntBits(-0.0f), Float in testSignumF() 487 .floatToIntBits(StrictMath.signum(-0.0f))); in testSignumF()
|
D | OldAndroidMathTest.java | 505 assertEquals(Float.floatToIntBits(0.0f), Float in testSignumF() 506 .floatToIntBits(Math.signum(0.0f))); in testSignumF() 507 assertEquals(Float.floatToIntBits(+0.0f), Float in testSignumF() 508 .floatToIntBits(Math.signum(+0.0f))); in testSignumF() 509 assertEquals(Float.floatToIntBits(-0.0f), Float in testSignumF() 510 .floatToIntBits(Math.signum(-0.0f))); in testSignumF()
|
D | IntrinsicTest.java | 118 Float.floatToIntBits(0.0f); in testFloat_floatToIntBits()
|
/libcore/ojluni/src/test/java/lang/Math/ |
D | AbsPositiveZero.java | 36 return Float.floatToIntBits(f) == Float.floatToIntBits(0.0f); in isPositiveZero()
|
D | IeeeRecommendedTests.java | 172 (Float.floatToIntBits(po2) & in testFloatGetExponent() 215 Float.floatToIntBits(top) | in testFloatGetExponent() 1349 (Float.floatToIntBits(po2) & in testFloatUlp() 1394 Float.floatToIntBits(top) | in testFloatUlp()
|
/libcore/benchmarks/src/benchmarks/regression/ |
D | FloatBenchmark.java | 26 result = Float.floatToIntBits(f); in timeFloatToIntBits()
|
/libcore/ojluni/src/main/java/java/io/ |
D | Bits.java | 106 putInt(b, off, Float.floatToIntBits(val)); in putFloat()
|
D | DataOutputStream.java | 242 writeInt(Float.floatToIntBits(v)); in writeFloat()
|
D | RandomAccessFile.java | 1174 writeInt(Float.floatToIntBits(v)); in writeFloat()
|
/libcore/ojluni/annotations/hiddenapi/java/lang/ |
D | Float.java | 127 public static int floatToIntBits(float value) { in floatToIntBits() method in Float
|
/libcore/ojluni/annotations/flagged_api/java/lang/ |
D | Float.annotated.java | 81 public static int floatToIntBits(float value) { throw new RuntimeException("Stub!"); } in floatToIntBits() method in Float
|
/libcore/ojluni/annotations/sdk/nullability/java/lang/ |
D | Float.annotated.java | 79 public static int floatToIntBits(float value) { throw new RuntimeException("Stub!"); } in floatToIntBits() method in Float
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/math/ |
D | BigDecimalConvertTest.java | 143 assertTrue("incorrect value", Float.floatToIntBits(result) == minusZero); in testFloatValueMinusZero() 154 assertTrue("incorrect value", Float.floatToIntBits(result) == zero); in testFloatValuePlusZero()
|
/libcore/ojluni/src/main/java/jdk/internal/util/ |
D | ArraysSupport.java | 598 if (Float.floatToIntBits(a[aFromIndex + i]) != Float.floatToIntBits(b[bFromIndex + i])) in mismatch()
|
/libcore/ojluni/src/main/java/jdk/internal/util/random/ |
D | RandomSupport.java | 720 r = Float.intBitsToFloat(Float.floatToIntBits(bound) - 1); in boundedNextFloat() 752 r = Float.intBitsToFloat(Float.floatToIntBits(bound) - 1); in boundedNextFloat()
|
/libcore/ojluni/src/test/java/util/Arrays/ |
D | Sorting.java | 716 final int NEGATIVE_ZERO = Float.floatToIntBits(-0.0f); in compare() 719 if (NEGATIVE_ZERO != Float.floatToIntBits(a[i])) { in compare()
|
/libcore/ojluni/src/main/java/java/util/ |
D | Arrays.java | 2180 int midBits = Float.floatToIntBits(midVal); in binarySearch0() 2181 int keyBits = Float.floatToIntBits(key); in binarySearch0() 4518 result = 31 * result + Float.floatToIntBits(element); in hashCode()
|
/libcore/api/ |
D | current.txt | 3326 method public static int floatToIntBits(float);
|