Lines Matching defs:default_unit_factor
82 EvaluatorQuantity default_unit_factor;
94 resolveUnit(NULL, &default_unit_factor, unit);
97 if ( result.dimension == 0 && default_unit_factor.dimension != 0 ) {
98 result.value /= default_unit_factor.value;
99 result.dimension = default_unit_factor.dimension;
120 EvaluatorQuantity default_unit_factor;
122 resolveUnit(NULL, &default_unit_factor, unit);
125 && evaluated_terms.dimension == default_unit_factor.dimension )
127 new_term.value /= default_unit_factor.value;
128 new_term.dimension = default_unit_factor.dimension;
130 && new_term.dimension == default_unit_factor.dimension )
132 evaluated_terms.value /= default_unit_factor.value;
133 evaluated_terms.dimension = default_unit_factor.dimension;