On 10/19/2016 12:45 PM, fedor_qd wrote:
That would depend on your host implementation of printf/scanf and is outside of GCC's control.How precize this function? I write sample: int main() { float x, y; __builtin_sscanf("30,981", "%f", &x); __builtin_printf("Test comma: %f\n", x); return(0); } Compile with options: g++ main.c -o hello -static-libgcc This sample returns 30.00 but 30.981 expected
jeff