/libcore/ojluni/src/main/java/java/lang/ |
H A D | Number.java | 81 public abstract float floatValue(); method in class:Number
|
H A D | Byte.java | 359 public float floatValue() { method in class:Byte
|
H A D | Short.java | 365 public float floatValue() { method in class:Short
|
/libcore/support/src/test/java/tests/support/ |
H A D | Support_GetPutFields.java | 41 public float floatValue = 0.0f; field in class:Support_GetPutFields 81 floatValue = 24.12f; 98 floatValue == other.floatValue && 112 floatValue = getField.get("floatValue", 0.0f); 126 putField.put("floatValue", floatValue);
|
H A D | Support_GetPutFieldsDeprecated.java | 43 public float floatValue = 0.0f; field in class:Support_GetPutFieldsDeprecated 83 floatValue = 43.22f; 100 floatValue == other.floatValue && 113 floatValue = getField.get("floatValue", 0.0f); 127 putField.put("floatValue", floatValue);
|
H A D | Support_GetPutFieldsDefaulted.java | 52 public float floatValue = 0.0f; field in class:Support_GetPutFieldsDefaulted 92 floatValue = 298.54f; 109 floatValue == other.floatValue && 123 floatValue = getField.get("floatValue", 298.54f);
|
/libcore/luni/src/test/java/libcore/java/lang/ |
H A D | OldDoubleTest.java | 52 assertEquals(Float.POSITIVE_INFINITY, new Double("3.4028236E38").floatValue()); 53 assertEquals(Float.NEGATIVE_INFINITY, new Double("-3.4028236E38").floatValue()); 54 assertEquals(Float.MAX_VALUE, new Double("3.4028235E38").floatValue()); 55 assertEquals(Float.MIN_VALUE, new Double("1.4E-45").floatValue());
|
H A D | OldFloatTest.java | 34 assertTrue("Created incorrect float", f.floatValue() == Float.POSITIVE_INFINITY);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/math/ |
H A D | BigIntegerConvertTest.java | 29 * floatValue(), doubleValue() 312 float aNumber = new BigInteger(a).floatValue(); 323 float aNumber = new BigInteger(a).floatValue(); 334 float aNumber = new BigInteger(a).floatValue(); 345 float aNumber = new BigInteger(a).floatValue(); 356 float aNumber = new BigInteger(a).floatValue(); 369 float aNumber = new BigInteger(aSign, a).floatValue(); 383 float aNumber = new BigInteger(aSign, a).floatValue(); 394 float aNumber = new BigInteger(aSign, a).floatValue(); 406 float aNumber = new BigInteger(aSign, a).floatValue(); [all...] |
H A D | BigDecimalConvertTest.java | 29 * Methods: doubleValue, floatValue, intValue, longValue, 102 assertTrue("incorrect value", aNumber.floatValue() == result); 112 assertTrue("incorrect value", aNumber.floatValue() == result); 122 assertTrue("incorrect value", aNumber.floatValue() == result); 132 assertTrue("incorrect value", aNumber.floatValue() == result); 142 float result = aNumber.floatValue(); 153 float result = aNumber.floatValue();
|
/libcore/luni/src/test/java/libcore/java/text/ |
H A D | OldDecimalFormatTestICU.java | 112 assertEquals(0.01f, format.parse("1E-2").floatValue()); 120 assertEquals(0.00123f, format.parse("12.3E-4").floatValue());
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
H A D | DoubleAccumulatorTest.java | 102 * floatValue returns current value. 106 assertEquals(0.0f, ai.floatValue()); 108 assertEquals(1.0f, ai.floatValue());
|
H A D | DoubleAdderTest.java | 114 * floatValue returns current value. 118 assertEquals(0.0f, ai.floatValue()); 120 assertEquals(1.0f, ai.floatValue());
|
H A D | LongAccumulatorTest.java | 102 * floatValue returns current value. 106 assertEquals(0.0f, ai.floatValue()); 108 assertEquals(1.0f, ai.floatValue());
|
H A D | LongAdderTest.java | 137 * floatValue returns current value. 141 assertEquals(0.0f, ai.floatValue()); 143 assertEquals(1.0f, ai.floatValue());
|
H A D | AtomicIntegerTest.java | 249 * floatValue returns current value. 253 assertEquals(0.0f, ai.floatValue()); 256 assertEquals((float)x, ai.floatValue());
|
H A D | AtomicLongTest.java | 252 * floatValue returns current value. 256 assertEquals(0.0f, ai.floatValue()); 259 assertEquals((float)x, ai.floatValue());
|
/libcore/ojluni/src/main/java/java/util/concurrent/atomic/ |
H A D | LongAdder.java | 201 public float floatValue() { method in class:LongAdder
|
H A D | AtomicInteger.java | 325 public float floatValue() { method in class:AtomicInteger
|
H A D | AtomicLong.java | 341 public float floatValue() { method in class:AtomicLong
|
H A D | DoubleAccumulator.java | 222 public float floatValue() { method in class:DoubleAccumulator
|
H A D | DoubleAdder.java | 208 public float floatValue() { method in class:DoubleAdder
|
H A D | LongAccumulator.java | 211 public float floatValue() { method in class:LongAccumulator
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
H A D | ByteTest.java | 318 * java.lang.Byte#floatValue() 321 assertEquals(-1F, new Byte((byte) -1).floatValue(), 0F); 322 assertEquals(0F, new Byte((byte) 0).floatValue(), 0F); 323 assertEquals(1F, new Byte((byte) 1).floatValue(), 0F); 503 * java.lang.Byte#floatValue() 506 assertEquals(127F, new Byte((byte) 127).floatValue(), 0.0);
|
/libcore/luni/src/test/java/libcore/java/lang/invoke/ |
H A D | MethodHandleCombinersTest.java | 2190 float floatValue = 33333.141f; 2191 mh.invokeExact(floatValue, true, (byte) floatValue, (char) floatValue, (short) floatValue, 2192 (int) floatValue, (long) floatValue, floatValue, (double) floatValue, 2193 Float.valueOf(floatValue)); [all...] |