can convert fahren -> cel
training data made by a C script here it is: #include <stdio.h> #include <stdlib.h> #include <time.h> int main() { srand(time(NULL)); FILE* f1 = fopen("data_in.txt", "w"); FILE* f2 = fopen("data_out.txt", "w"); if (!f1 || !f2) goto quit; for (int i = 0; i < 6000; i++) { double test1 = (rand() % 500) / 2.4; double test2 = (5.0 / 9.0) * (test1 - 32); fprintf(f1, "%f\n", test1); fprintf(f2, "%f\n", test2); } quit: fclose(f1); fclose(f2); return 0; }