Change print buffer size in perf_test
Rework convert_to_double and convert_from_double