/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/math/ |
D | BigIntegerConvertTest.java | 312 float aNumber = new BigInteger(a).floatValue(); in testFloatValueZero() 323 float aNumber = new BigInteger(a).floatValue(); in testFloatValuePositive1() 334 float aNumber = new BigInteger(a).floatValue(); in testFloatValuePositive2() 345 float aNumber = new BigInteger(a).floatValue(); in testFloatValueNegative1() 356 float aNumber = new BigInteger(a).floatValue(); in testFloatValueNegative2() 369 float aNumber = new BigInteger(aSign, a).floatValue(); in testFloatValuePosRounded1() 383 float aNumber = new BigInteger(aSign, a).floatValue(); in testFloatValuePosRounded2() 394 float aNumber = new BigInteger(aSign, a).floatValue(); in testFloatValuePosNotRounded() 406 float aNumber = new BigInteger(aSign, a).floatValue(); in testFloatValueNegRounded1() 420 float aNumber = new BigInteger(aSign, a).floatValue(); in testFloatValueNegRounded2() [all …]
|
D | BigDecimalConvertTest.java | 102 assertTrue("incorrect value", aNumber.floatValue() == result); in testFloatValueNeg() 112 assertTrue("incorrect value", aNumber.floatValue() == result); in testFloatValuePos() 122 assertTrue("incorrect value", aNumber.floatValue() == result); in testFloatValuePosInfinity() 132 assertTrue("incorrect value", aNumber.floatValue() == result); in testFloatValueNegInfinity() 142 float result = aNumber.floatValue(); in testFloatValueMinusZero() 153 float result = aNumber.floatValue(); in testFloatValuePlusZero()
|
D | BigDecimalTest.java | 329 fl1.floatValue() == 234563782344567f); in test_floatValue() 332 .floatValue() == 2.345E37F); in test_floatValue() 335 .floatValue() == -1.00E-44F); in test_floatValue() 338 .floatValue() == -3E12F); in test_floatValue() 342 fl2.floatValue() == Float.POSITIVE_INFINITY); in test_floatValue() 346 fl2.floatValue() == Float.NEGATIVE_INFINITY); in test_floatValue()
|
/libcore/support/src/test/java/tests/support/ |
D | Support_GetPutFieldsDeprecated.java | 43 public float floatValue = 0.0f; field in Support_GetPutFieldsDeprecated 83 floatValue = 43.22f; in initTestValues() 100 floatValue == other.floatValue && in equals() 113 floatValue = getField.get("floatValue", 0.0f); in readObject() 127 putField.put("floatValue", floatValue); in writeObject()
|
D | Support_GetPutFields.java | 41 public float floatValue = 0.0f; field in Support_GetPutFields 81 floatValue = 24.12f; in initTestValues() 98 floatValue == other.floatValue && in equals() 112 floatValue = getField.get("floatValue", 0.0f); in readObject() 126 putField.put("floatValue", floatValue); in writeObject()
|
D | Support_GetPutFieldsDefaulted.java | 52 public float floatValue = 0.0f; field in Support_GetPutFieldsDefaulted 92 floatValue = 298.54f; in initTestValues() 109 floatValue == other.floatValue && in equals() 123 floatValue = getField.get("floatValue", 298.54f); in readObject()
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | OldDoubleTest.java | 52 assertEquals(Float.POSITIVE_INFINITY, new Double("3.4028236E38").floatValue()); in test_floatValue() 53 assertEquals(Float.NEGATIVE_INFINITY, new Double("-3.4028236E38").floatValue()); in test_floatValue() 54 assertEquals(Float.MAX_VALUE, new Double("3.4028235E38").floatValue()); in test_floatValue() 55 assertEquals(Float.MIN_VALUE, new Double("1.4E-45").floatValue()); in test_floatValue()
|
D | OldFloatTest.java | 34 assertTrue("Created incorrect float", f.floatValue() == Float.POSITIVE_INFINITY); in test_ConstructorD()
|
/libcore/ojluni/src/main/java/java/lang/ |
D | Number.java | 81 public abstract float floatValue(); in floatValue() method in Number
|
/libcore/luni/src/test/java/libcore/java/text/ |
D | OldDecimalFormatTestICU.java | 112 assertEquals(0.01f, format.parse("1E-2").floatValue()); in test_positiveExponentSign() 120 assertEquals(0.00123f, format.parse("12.3E-4").floatValue()); in test_positiveExponentSign()
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | LongAccumulatorTest.java | 106 assertEquals(0.0f, ai.floatValue()); in testFloatValue() 108 assertEquals(1.0f, ai.floatValue()); in testFloatValue()
|
D | DoubleAccumulatorTest.java | 106 assertEquals(0.0f, ai.floatValue()); in testFloatValue() 108 assertEquals(1.0f, ai.floatValue()); in testFloatValue()
|
D | DoubleAdderTest.java | 118 assertEquals(0.0f, ai.floatValue()); in testFloatValue() 120 assertEquals(1.0f, ai.floatValue()); in testFloatValue()
|
D | LongAdderTest.java | 141 assertEquals(0.0f, ai.floatValue()); in testFloatValue() 143 assertEquals(1.0f, ai.floatValue()); in testFloatValue()
|
D | AtomicIntegerTest.java | 253 assertEquals(0.0f, ai.floatValue()); in testFloatValue() 256 assertEquals((float)x, ai.floatValue()); in testFloatValue()
|
D | AtomicLongTest.java | 256 assertEquals(0.0f, ai.floatValue()); in testFloatValue() 259 assertEquals((float)x, ai.floatValue()); in testFloatValue()
|
/libcore/ojluni/annotations/hiddenapi/sun/misc/ |
D | FloatingDecimal.java | 229 public float floatValue() { in floatValue() method in FloatingDecimal.ASCIIToBinaryBuffer 283 public float floatValue(); in floatValue() method 490 public float floatValue() { in floatValue() method in FloatingDecimal.PreparedASCIIToBinaryBuffer
|
/libcore/luni/src/test/java/libcore/java/lang/invoke/ |
D | MethodHandleCombinersTest.java | 2190 float floatValue = 33333.141f; in testExplicitCastArguments() local 2191 mh.invokeExact(floatValue, true, (byte) floatValue, (char) floatValue, (short) floatValue, in testExplicitCastArguments() 2192 (int) floatValue, (long) floatValue, floatValue, (double) floatValue, in testExplicitCastArguments() 2193 Float.valueOf(floatValue)); in testExplicitCastArguments() 2195 mh.invoke(floatValue, true, (byte) floatValue, (char) floatValue, in testExplicitCastArguments() 2196 (short) floatValue, (int) floatValue, (long) floatValue, floatValue, in testExplicitCastArguments() 2197 (double) floatValue, Integer.valueOf((int) floatValue)); in testExplicitCastArguments()
|
D | MethodHandleAccessorsTest.java | 505 float floatValue = value instanceof Float ? ((Float)value).floatValue() : -1.0f; in tryAccessor() local 506 setFloat(methodHandle, valueHolder, floatValue, in tryAccessor() 508 setFloat(methodHandle, floatValue, in tryAccessor() 510 getFloat(methodHandle, valueHolder, floatValue, in tryAccessor() 512 getFloat(methodHandle, floatValue, in tryAccessor() 821 assertTrue(valueHolder.m_f == floatNumber.floatValue()); in testMemberSetter() 824 assertTrue(valueHolder.m_f == ((Float) objNumber).floatValue()); in testMemberSetter() 876 assertTrue(ValueHolder.s_f == floatNumber.floatValue()); in testStaticSetter()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | ByteTest.java | 321 assertEquals(-1F, new Byte((byte) -1).floatValue(), 0F); in test_floatValue() 322 assertEquals(0F, new Byte((byte) 0).floatValue(), 0F); in test_floatValue() 323 assertEquals(1F, new Byte((byte) 1).floatValue(), 0F); in test_floatValue() 506 assertEquals(127F, new Byte((byte) 127).floatValue(), 0.0);
|
D | FloatTest.java | 104 assertTrue("Created incorrect float", f.floatValue() == 900.89f); in test_ConstructorF() 114 assertTrue("Created incorrect Float", f.floatValue() == 900.89f); in test_ConstructorLjava_lang_String() 196 assertTrue("Returned incorrect floatValue", f.floatValue() == 87.657f in test_floatValue() 197 && (f2.floatValue() == -0.876f)); in test_floatValue() 942 + Float.toString(f.floatValue()) + ")", Float.toString(f.floatValue()).equals( in test_toString()
|
D | ShortTest.java | 642 assertEquals(-1F, new Short((short) -1).floatValue(), 0F); in test_floatValue() 643 assertEquals(0F, new Short((short) 0).floatValue(), 0F); in test_floatValue() 644 assertEquals(1F, new Short((short) 1).floatValue(), 0F); in test_floatValue()
|
/libcore/ojluni/annotations/hiddenapi/java/util/concurrent/atomic/ |
D | AtomicInteger.java | 129 public float floatValue() { in floatValue() method in AtomicInteger
|
/libcore/ojluni/annotations/mmodule/java/lang/ |
D | Byte.annotated.java | 59 public float floatValue() { throw new RuntimeException("Stub!"); } in floatValue() method in Byte
|
/libcore/ojluni/src/main/java/java/util/concurrent/atomic/ |
D | LongAdder.java | 201 public float floatValue() { in floatValue() method in LongAdder
|