- TST("Float", "%f", 3.1414926535);
- TST("Float", "%.10f", 3.1414926535);
- TST("Float", "%e", 3.1414926535);
- TST("Float", "%g", 3.1414926535);
- TST("Float", "%E", 1000000000.00);
- TST("Float", "%a", 16.0);
- TST("Float", "%a", 1024.0);
- TST("Float", "%a", 1023.0);
- TST("Float", "%A", 1000000000.00);
+ TST("Float", "3.141593", "%f", 3.1415926535);
+ TST("Float", "10.000000", "%f", 10.0);
+ TST("Float", "-0.000000", "%f", -0.0);
+ TST("Float", "3.1415926535", "%.10f", 3.1415926535);
+ TST("Float", "3.141593e+00", "%e", 3.1415926535);
+ TST("Float", "3.14159", "%g", 3.1415926535);
+ TST("Float", "1.000000E+09", "%E", 1000000000.00);
+ TST("Float", "0x1p+4", "%a", 16.0);
+ TST("Float", "0x1p+10", "%a", 1024.0);
+ TST("Float", "0x1.ff8p+9", "%a", 1023.0);
+ TST("Float", "0X1.DCD65P+29", "%A", 1000000000.00);