trying to display delat min/max

This commit is contained in:
tonton th 2020-08-04 22:07:40 +02:00
parent 78ab2b4278
commit dbe8ee406a

View File

@ -49,9 +49,12 @@ if (foo) {
return foo;
}
printf("Rmin %12.4g Rmax %12.4g\n", vals[0], vals[1]);
printf("Gmin %12.4g Gmax %12.4g\n", vals[2], vals[3]);
printf("Bmin %12.4g Bmax %12.4g\n", vals[4], vals[5]);
printf("Rmin %12.4g Rmax %12.4g delta %12g\n",
vals[0], vals[1], vals[1]-vals[0]);
printf("Gmin %12.4g Gmax %12.4g %12g\n",
vals[2], vals[3], vals[3]-vals[2]);
printf("Bmin %12.4g Bmax %12.4g %12g\n",
vals[4], vals[5], vals[5]-vals[4]);
return 0;
}