Searched refs:floatString (Results 1 – 6 of 6) sorted by relevance
/external/angle/src/tests/compiler_tests/ |
D | ConstantFolding_test.cpp | 18 const std::string &floatString = "1.0"; in TEST_F() local 19 evaluateFloat(floatString); in TEST_F() 877 const std::string &floatString = "1.0e-2048"; in TEST_F() local 878 evaluateFloat(floatString); in TEST_F() 887 const std::string &floatString = "radians(1.0e2048)"; in TEST_F() local 888 evaluateFloat(floatString); in TEST_F() 897 const std::string &floatString = "degrees(1.0e2048)"; in TEST_F() local 898 evaluateFloat(floatString); in TEST_F() 906 const std::string &floatString = "sinh(1.0e2048)"; in TEST_F() local 907 evaluateFloat(floatString); in TEST_F() [all …]
|
D | ConstantFoldingNaN_test.cpp | 24 void evaluateFloatNaN(const std::string &floatString) in evaluateFloatNaN() argument 26 evaluateFloat(floatString); in evaluateFloatNaN() 37 const std::string &floatString = "1.0e2048 - 1.0e2048"; in TEST_F() local 38 evaluateFloatNaN(floatString); in TEST_F() 44 const std::string &floatString = "1.0e2048 + (-1.0e2048)"; in TEST_F() local 45 evaluateFloatNaN(floatString); in TEST_F() 51 const std::string &floatString = "1.0e2048 * 0.0"; in TEST_F() local 52 evaluateFloatNaN(floatString); in TEST_F() 58 const std::string &floatString = "1.0e2048 / 1.0e2048"; in TEST_F() local 59 evaluateFloatNaN(floatString); in TEST_F() [all …]
|
D | ConstantFoldingOverflow_test.cpp | 27 void evaluateFloatOverflow(const std::string &floatString, bool positive) in evaluateFloatOverflow() argument 29 evaluateFloat(floatString); in evaluateFloatOverflow() 42 const std::string &floatString = "2.0e38 + 2.0e38"; in TEST_F() local 43 evaluateFloatOverflow(floatString, true); in TEST_F() 49 const std::string &floatString = "2.0e38 - (-2.0e38)"; in TEST_F() local 50 evaluateFloatOverflow(floatString, true); in TEST_F() 56 const std::string &floatString = "1.0e30 * 1.0e10"; in TEST_F() local 57 evaluateFloatOverflow(floatString, true); in TEST_F() 63 const std::string &floatString = "1.0e30 / 1.0e-10"; in TEST_F() local 64 evaluateFloatOverflow(floatString, true); in TEST_F()
|
/external/skqp/tests/ |
D | PDFPrimitivesTest.cpp | 327 char floatString[kMaximumSkFloatToDecimalLength]; in check_pdf_scalar_serialization() local 328 size_t len = SkFloatToDecimal(inputFloat, floatString); in check_pdf_scalar_serialization() 329 if (len >= sizeof(floatString)) { in check_pdf_scalar_serialization() 333 if (floatString[len] != '\0' || strlen(floatString) != len) { in check_pdf_scalar_serialization() 338 SkDebugf("%15.9g = \"%s\"\n", inputFloat, floatString); in check_pdf_scalar_serialization() 341 if (1 != sscanf(floatString, "%f", &roundTripFloat)) { in check_pdf_scalar_serialization() 342 ERRORF(reporter, "unscannable result: %s", floatString); in check_pdf_scalar_serialization()
|
/external/skia/tests/ |
D | PDFPrimitivesTest.cpp | 330 char floatString[kMaximumSkFloatToDecimalLength]; in check_pdf_scalar_serialization() local 331 size_t len = SkFloatToDecimal(inputFloat, floatString); in check_pdf_scalar_serialization() 332 if (len >= sizeof(floatString)) { in check_pdf_scalar_serialization() 336 if (floatString[len] != '\0' || strlen(floatString) != len) { in check_pdf_scalar_serialization() 341 SkDebugf("%15.9g = \"%s\"\n", inputFloat, floatString); in check_pdf_scalar_serialization() 344 if (1 != sscanf(floatString, "%f", &roundTripFloat)) { in check_pdf_scalar_serialization() 345 ERRORF(reporter, "unscannable result: %s", floatString); in check_pdf_scalar_serialization()
|
/external/smali/smali/src/main/java/org/jf/smali/ |
D | LiteralTools.java | 311 public static float parseFloat(String floatString) { in parseFloat() argument 312 Matcher m = specialFloatRegex.matcher(floatString); in parseFloat() 325 return Float.parseFloat(floatString); in parseFloat()
|