/libcore/ojluni/src/main/java/java/lang/ |
D | Float.java | 664 return floatToIntBits(value); in hashCode() 709 && (floatToIntBits(((Float)obj).value) == floatToIntBits(value)); in equals() 743 public static int floatToIntBits(float value) { in floatToIntBits() method in Float 913 int thisBits = Float.floatToIntBits(f1); in compare() 914 int anotherBits = Float.floatToIntBits(f2); in compare()
|
/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/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/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 | 1156 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/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/java/util/ |
D | Arrays.java | 2262 int midBits = Float.floatToIntBits(midVal); in binarySearch0() 2263 int keyBits = Float.floatToIntBits(key); in binarySearch0() 2721 if (Float.floatToIntBits(a[i])!=Float.floatToIntBits(a2[i])) in equals() 4010 result = 31 * result + Float.floatToIntBits(element); in hashCode()
|
/libcore/api/ |
D | current.txt | 3058 method public static int floatToIntBits(float);
|