/libcore/luni/src/test/java/libcore/java/lang/ |
D | FloatTest.java | 36 assertEquals(Float.NaN, Float.parseFloat("NaN")); in testNamedFloats() 37 assertEquals(Float.NaN, Float.parseFloat("-NaN")); in testNamedFloats() 38 assertEquals(Float.NaN, Float.parseFloat("+NaN")); in testNamedFloats() 40 Float.parseFloat("NNaN"); in testNamedFloats() 45 Float.parseFloat("NaNN"); in testNamedFloats() 50 assertEquals(Float.POSITIVE_INFINITY, Float.parseFloat("+Infinity")); in testNamedFloats() 51 assertEquals(Float.POSITIVE_INFINITY, Float.parseFloat("Infinity")); in testNamedFloats() 52 assertEquals(Float.NEGATIVE_INFINITY, Float.parseFloat("-Infinity")); in testNamedFloats() 54 Float.parseFloat("IInfinity"); in testNamedFloats() 59 Float.parseFloat("Infinityy"); in testNamedFloats() [all …]
|
D | OldFloatTest.java | 42 Float.parseFloat(incorrectStrings[i]); in test_parseFloatLExceptions()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | FloatTest.java | 90 float result = Float.parseFloat(originalFloatString); in doTestCompareRawBits() 308 .parseFloat("7.0064923216240853546186479164495e-46"), 0.0); in test_parseFloatLjava_lang_String() 310 Float.parseFloat("7.0064923216240853546186479164496e-46"), 0.0); in test_parseFloatLjava_lang_String() 429 …actual = Float.parseFloat("0x00000000000000000000000000000000000000000.000000000000000000000000000… in test_parseFloat_LString_Unusual() 432 actual = Float.parseFloat("+0Xfffff.fffffffffffffffffffffffffffffffp+99F"); in test_parseFloat_LString_Unusual() 435 actual = Float.parseFloat("-0X.123456789abcdefp+99f"); in test_parseFloat_LString_Unusual() 438 actual = Float.parseFloat("-0X123456789abcdef.p+1f"); in test_parseFloat_LString_Unusual() 441 …actual = Float.parseFloat("-0X000000000000000000000000000001abcdef.0000000000000000000000000001abe… in test_parseFloat_LString_Unusual() 444 …actual = Float.parseFloat("0X0.0000000000000000000000000000000000000000000000000000000000000000000… in test_parseFloat_LString_Unusual() 447 actual = Float.parseFloat("0x1.p9223372036854775807"); in test_parseFloat_LString_Unusual() [all …]
|
/libcore/ojluni/src/test/java/lang/Float/ |
D | NaNInfinityParsingTest.java | 134 float d = Float.parseFloat(naNString); in testValidNaNStrings() 144 float d = Float.parseFloat(infinityString); in testValidInfinityStrings() 163 float d = Float.parseFloat(invalidString); in testAlmostValidStrings()
|
D | ParseFloatTest.java | 46 float n = Float.parseFloat(val); in check() 124 float n = Float.parseFloat(val); in check() 287 d = Float.parseFloat(input[i]); in testParsing()
|
/libcore/ojluni/src/main/java/java/lang/ |
D | Float.java | 451 return new Float(parseFloat(s)); in valueOf() 486 public static float parseFloat(String s) throws NumberFormatException { in parseFloat() method in Float 487 return FloatingDecimal.parseFloat(s); in parseFloat() 589 value = parseFloat(s); in Float()
|
/libcore/benchmarks/src/benchmarks/regression/ |
D | StringToRealBenchmark.java | 36 Float.parseFloat(string); in timeFloat_parseFloat()
|
/libcore/ojluni/src/test/java/math/BigInteger/ |
D | PrimitiveConversionTests.java | 86 float expected = Float.parseFloat(big.toString()); in testFloatValue()
|
/libcore/ojluni/src/test/java/lang/Double/ |
D | ParseHexFloatingPointTest.java | 404 float expected = Float.parseFloat(expectedIn); in testFloat() 405 float result = Float.parseFloat(resultIn); in testFloat()
|
D | ToHexStringTest.java | 164 String result = Float.toHexString(Float.parseFloat(floatTestCases[i][0])); in testToHexString()
|
/libcore/ojluni/annotations/hiddenapi/java/lang/ |
D | Float.java | 63 public static float parseFloat(java.lang.String s) throws java.lang.NumberFormatException { in parseFloat() method in Float
|
/libcore/ojluni/annotations/flagged_api/java/lang/ |
D | Float.annotated.java | 49 public static float parseFloat(java.lang.String s) throws java.lang.NumberFormatException { throw n… in parseFloat() method in Float
|
/libcore/ojluni/annotations/sdk/nullability/java/lang/ |
D | Float.annotated.java | 47 public static float parseFloat(@libcore.util.NonNull java.lang.String s) throws java.lang.NumberFor… in parseFloat() method in Float
|
/libcore/ojluni/annotations/hiddenapi/sun/misc/ |
D | FloatingDecimal.java | 57 public static float parseFloat(java.lang.String s) throws java.lang.NumberFormatException { in parseFloat() method in FloatingDecimal
|
/libcore/ojluni/src/test/java/util/Scanner/ |
D | ScanTest.java | 287 if (f != Float.parseFloat("3.7")) in nonASCIITest() 291 if (f != Float.parseFloat("3.7")) in nonASCIITest() 295 if (f != Float.parseFloat("3.7")) in nonASCIITest()
|
/libcore/ojluni/src/main/java/java/util/prefs/ |
D | AbstractPreferences.java | 565 result = Float.parseFloat(value); in getFloat()
|
/libcore/ojluni/src/main/java/java/util/ |
D | Scanner.java | 2474 typeCache = Float.valueOf(Float.parseFloat(s)); in hasNextFloat() 2519 return Float.parseFloat(processFloatToken(next(floatPattern()))); in nextFloat()
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | JSR166TestCase.java | 182 return Float.parseFloat(floatString); in systemPropertyValue()
|
/libcore/ojluni/src/main/java/jdk/internal/math/ |
D | FloatingDecimal.java | 121 public static float parseFloat(String s) throws NumberFormatException { in parseFloat() method in FloatingDecimal
|
/libcore/ojluni/src/test/java/util/concurrent/tck/ |
D | JSR166TestCase.java | 252 return Float.parseFloat(floatString); in systemPropertyValue()
|
/libcore/ojluni/src/main/java/java/math/ |
D | BigDecimal.java | 3793 return Float.parseFloat(this.toString());
|
/libcore/api/ |
D | current.txt | 3340 method public static float parseFloat(@NonNull String) throws java.lang.NumberFormatException;
|