Home | History | Annotate | Download | only in units

Lines Matching defs:want

733 showanswer(struct unittype * have, struct unittype * want)
735 if (compareunits(have, want)) {
736 if (compareunitsreciprocal(have, want)) {
739 showunit(want);
743 precision, 1 / (have->factor * want->factor),
744 precision, want->factor * have->factor);
749 precision, have->factor / want->factor,
750 precision, want->factor / have->factor);
863 struct unittype have, want;
927 initializeunit(&want);
928 addunit(&want, wantstr, 0);
929 completereduce(&want);
930 showanswer(&have, &want);
949 initializeunit(&want);
951 printf("You want: ");
957 } while (addunit(&want, wantstr, 0) ||
958 completereduce(&want));
959 showanswer(&have, &want);