Lines Matching refs:gamma
771 double gamma[9] = { 2.2, 1.8, 1.52, 1.45, 1., 1/1.45, 1/1.52, 1/1.8, 1/2.2 };
775 /* Silence the output with -s, just test the gamma functions with -g: */
889 /* Test the overall gamma correction. */
893 double g = gamma[i];
897 printf("Test gamma %f\n", g);
916 printf("gamma %f: maximum 8-bit error %f\n", g, maxerr);
935 printf("gamma %f: maximum 16-bit error %f\n", g, maxerr);
947 * 3: accuracy test of fixed point gamma tables
987 else if (strcmp(argv[1], "gamma") == 0)
993 "usage: tarith [-v] [-c count] {ascii,muldiv,gamma} [args]\n");
997 fprintf(stderr, " gamma -s (silent) -g (only gamma; no log)\n");