Home | History | Annotate | Download | only in units

Lines Matching defs:have

361 	 * beginning of the string failed further on. I have changed
463 /* have an exponent */
733 showanswer(struct unittype * have, struct unittype * want)
735 if (compareunits(have, want)) {
736 if (compareunitsreciprocal(have, want)) {
738 showunit(have);
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);
793 * names, so we have to expand thedefn instead of
863 struct unittype have, want;
924 initializeunit(&have);
925 addunit(&have, havestr, 0);
926 completereduce(&have);
930 showanswer(&have, &want);
938 initializeunit(&have);
940 printf("You have: ");
946 } while (addunit(&have, havestr, 0) ||
947 completereduce(&have));
959 showanswer(&have, &want);