add test/benchmark_file.c
implement strtod in parseNumber
fix coding style
suppress c++-compiler warning