/dalvik/libcore/support/src/test/java/tests/support/ |
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_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_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()
|
/dalvik/libcore/math/src/test/java/org/apache/harmony/math/tests/java/math/ |
D | BigIntegerConvertTest.java | 439 float aNumber = new BigInteger(a).floatValue(); in testFloatValueZero() 456 float aNumber = new BigInteger(a).floatValue(); in testFloatValuePositive1() 473 float aNumber = new BigInteger(a).floatValue(); in testFloatValuePositive2() 490 float aNumber = new BigInteger(a).floatValue(); in testFloatValueNegative1() 507 float aNumber = new BigInteger(a).floatValue(); in testFloatValueNegative2() 526 float aNumber = new BigInteger(aSign, a).floatValue(); in testFloatValuePosRounded1() 546 float aNumber = new BigInteger(aSign, a).floatValue(); in testFloatValuePosRounded2() 563 float aNumber = new BigInteger(aSign, a).floatValue(); in testFloatValuePosNotRounded() 581 float aNumber = new BigInteger(aSign, a).floatValue(); in testFloatValueNegRounded1() 601 float aNumber = new BigInteger(aSign, a).floatValue(); in testFloatValueNegRounded2() [all …]
|
D | BigDecimalConvertTest.java | 153 assertTrue("incorrect value", aNumber.floatValue() == result); in testFloatValueNeg() 169 assertTrue("incorrect value", aNumber.floatValue() == result); in testFloatValuePos() 185 assertTrue("incorrect value", aNumber.floatValue() == result); in testFloatValuePosInfinity() 201 assertTrue("incorrect value", aNumber.floatValue() == result); in testFloatValueNegInfinity() 217 float result = aNumber.floatValue(); in testFloatValueMinusZero() 234 float result = aNumber.floatValue(); in testFloatValuePlusZero()
|
/dalvik/libcore/luni/src/main/java/java/lang/ |
D | Number.java | 58 public abstract float floatValue(); in floatValue() method in Number
|
D | Short.java | 156 public float floatValue() { in floatValue() method in Short
|
D | Byte.java | 160 public float floatValue() { in floatValue() method in Byte
|
D | Float.java | 198 public float floatValue() { in floatValue() method in Float
|
D | Double.java | 195 public float floatValue() { in floatValue() method in Double
|
/dalvik/libcore/text/src/test/java/org/apache/harmony/text/tests/java/text/ |
D | DecimalFormatTestICU.java | 162 assertEquals(0.01f, format.parse("1E-2").floatValue()); in test_positiveExponentSign() 170 assertEquals(0.00123f, format.parse("12.3E-4").floatValue()); in test_positiveExponentSign()
|
/dalvik/libcore/concurrent/src/main/java/java/util/concurrent/atomic/ |
D | AtomicInteger.java | 220 public float floatValue() { in floatValue() method in AtomicInteger
|
D | AtomicLong.java | 245 public float floatValue() { in floatValue() method in AtomicLong
|
/dalvik/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/ |
D | NumberTest.java | 37 public float floatValue() { in floatValue() method in NumberTest.MockNumber
|
D | FloatTest.java | 116 assertTrue("Created incorrect float", f.floatValue() == 900.89f); in test_ConstructorF() 128 assertTrue("Created incorrect float", f.floatValue() == Float.POSITIVE_INFINITY); in test_ConstructorD() 144 assertTrue("Created incorrect Float", f.floatValue() == 900.89f); in test_ConstructorLjava_lang_String() 276 assertTrue("Returned incorrect floatValue", f.floatValue() == 87.657f in test_floatValue() 277 && (f2.floatValue() == -0.876f)); in test_floatValue() 1136 + Float.toString(f.floatValue()) + ")", Float.toString(f.floatValue()).equals( in test_toString()
|
D | ByteTest.java | 417 assertEquals(-1F, new Byte((byte) -1).floatValue(), 0F); in test_floatValue() 418 assertEquals(0F, new Byte((byte) 0).floatValue(), 0F); in test_floatValue() 419 assertEquals(1F, new Byte((byte) 1).floatValue(), 0F); in test_floatValue() 674 assertEquals(127F, new Byte((byte) 127).floatValue(), 0.0);
|
D | LongTest.java | 984 assertEquals(-1F, new Long(-1).floatValue(), 0F); in test_floatValue() 985 assertEquals(0F, new Long(0).floatValue(), 0F); in test_floatValue() 986 assertEquals(1F, new Long(1).floatValue(), 0F); in test_floatValue() 988 assertEquals(Long.MAX_VALUE, new Long(Long.MAX_VALUE).floatValue(), 0F); in test_floatValue() 989 assertEquals(Long.MIN_VALUE, new Long(Long.MIN_VALUE).floatValue(), 0F); in test_floatValue()
|
D | ShortTest.java | 775 assertEquals(-1F, new Short((short)-1).floatValue(), 0F); in test_floatValue() 776 assertEquals(0F, new Short((short)0).floatValue(), 0F); in test_floatValue() 777 assertEquals(1F, new Short((short)1).floatValue(), 0F); in test_floatValue()
|
D | DoubleTest.java | 382 floatValue() - 999999999999999.9999999999999f) < 1); in test_floatValue() 383 assertEquals(Float.POSITIVE_INFINITY, new Double("3.4028236E38").floatValue()); in test_floatValue() 384 assertEquals(Float.NEGATIVE_INFINITY, new Double("-3.4028236E38").floatValue()); in test_floatValue() 385 assertEquals(Float.MAX_VALUE, new Double("3.4028235E38").floatValue()); in test_floatValue() 386 assertEquals(Float.MIN_VALUE, new Double("1.4E-45").floatValue()); in test_floatValue()
|
D | IntegerTest.java | 270 .floatValue() == 65535.0f); in test_floatValue2() 272 .floatValue() == -65535.0f); in test_floatValue2() 1189 assertEquals(-1F, new Integer(-1).floatValue(), 0F); in test_floatValue() 1190 assertEquals(0F, new Integer(0).floatValue(), 0F); in test_floatValue() 1191 assertEquals(1F, new Integer(1).floatValue(), 0F); in test_floatValue()
|
/dalvik/libcore/luni/src/main/java/java/io/ |
D | EmulatedFieldsForDumping.java | 223 .floatValue() : (float) 0); in write()
|
/dalvik/libcore/support/src/test/java/tests/util/ |
D | CallVerificationStack.java | 246 return value.floatValue(); in popFloat()
|
/dalvik/libcore/math/src/test/java/tests/api/java/math/ |
D | BigDecimalTest.java | 454 fl1.floatValue() == 234563782344567f); in test_floatValue() 457 .floatValue() == 2.345E37F); in test_floatValue() 460 .floatValue() == -1.00E-44F); in test_floatValue() 463 .floatValue() == -3E12F); in test_floatValue() 467 fl2.floatValue() == Float.POSITIVE_INFINITY); in test_floatValue() 471 fl2.floatValue() == Float.NEGATIVE_INFINITY); in test_floatValue()
|
/dalvik/libcore/concurrent/src/test/java/tests/api/java/util/concurrent/ |
D | AtomicIntegerTest.java | 245 assertEquals((float)i, ai.floatValue()); in testFloatValue()
|
D | AtomicLongTest.java | 233 assertEquals((float)i, ai.floatValue()); in testFloatValue()
|