Searched refs:myFloat (Results 1 - 2 of 2) sorted by relevance

/external/icu/icu4c/source/test/iotest/
H A Dstrtst.c24 float myFloat = -1234.0; local
97 u_sprintf(uStringBuf, "Float f: %f", myFloat);
100 if (myFloat != *newDoubleValuePtr) {
101 log_err("%%f Got: %f, Expected: %f\n", *newDoubleValuePtr, myFloat);
104 u_sprintf(uStringBuf, "Lowercase float e: %e", myFloat);
107 if (myFloat != *newDoubleValuePtr) {
108 log_err("%%e Got: %e, Expected: %e\n", *newDoubleValuePtr, myFloat);
111 u_sprintf(uStringBuf, "Uppercase float E: %E", myFloat);
114 if (myFloat != *newDoubleValuePtr) {
115 log_err("%%E Got: %E, Expected: %E\n", *newDoubleValuePtr, myFloat);
[all...]
H A Dfiletst.c31 float myFloat = -1234.0; local
75 u_fprintf(myFile, "Float %%f: %f\n", myFloat);
76 u_fprintf(myFile, "Lowercase float %%e: %e\n", myFloat);
77 u_fprintf(myFile, "Uppercase float %%E: %E\n", myFloat);
78 u_fprintf(myFile, "Lowercase float %%g: %g\n", myFloat);
79 u_fprintf(myFile, "Uppercase float %%G: %G\n", myFloat);
87 u_fprintf(myFile, "Percent %%P (non-ANSI): %P\n", myFloat);
88 u_fprintf(myFile, "Spell Out %%V (non-ANSI): %V\n", myFloat);
173 if (myFloat != *newDoubleValuePtr) {
174 log_err("%%f Got: %f, Expected: %f\n", *newDoubleValuePtr, myFloat);
[all...]

Completed in 46 milliseconds