Lines Matching refs:fraction
120 * specified as a fraction between 0 and
123 * specified as a fraction between 0 and
458 double fraction;
479 fraction = 0.0;
481 fraction = ((double) pixels / (double) length);
483 sprintf(interp->result, "%g", fraction);
484 } else if ((c == 'f') && (strncmp(argv[1], "fraction", length) == 0)) {
486 double fraction;
490 argv[0], " fraction x y\"", (char *) NULL);
507 fraction = 0.0;
509 fraction = ((double) pos / (double) length);
511 if (fraction < 0) {
512 fraction = 0;
513 } else if (fraction > 1.0) {
514 fraction = 1.0;
516 sprintf(interp->result, "%g", fraction);
631 "\": must be activate, cget, configure, delta, fraction, ",