Lines Matching refs:divisor
70 double divisor; member in MultiplierSubstitution
80 : NFSubstitution(_pos, _ruleSet, formatter, description, status), divisor(_divisor) in MultiplierSubstitution()
82 ldivisor = util64_fromDouble(divisor); in MultiplierSubstitution()
83 if (divisor == 0) { in MultiplierSubstitution()
90 divisor = uprv_pow(radix, exponent); in setDivisor()
91 ldivisor = util64_fromDouble(divisor); in setDivisor()
93 if(divisor == 0) { in setDivisor()
106 return uprv_floor(number / divisor); in transformNumber()
108 return number/divisor; in transformNumber()
113 return newRuleValue * divisor; in composeRuleValue()
116 virtual double calcUpperBound(double /*oldUpperBound*/) const { return divisor; } in calcUpperBound()
128 double divisor; member in ModulusSubstitution
142 divisor = uprv_pow(radix, exponent); in setDivisor()
143 ldivisor = util64_fromDouble(divisor); in setDivisor()
145 if (divisor == 0) { in setDivisor()
156 virtual double transformNumber(double number) const { return uprv_fmod(number, divisor); } in transformNumber()
166 return oldRuleValue - uprv_fmod(oldRuleValue, divisor) + newRuleValue; in composeRuleValue()
169 virtual double calcUpperBound(double /*oldUpperBound*/) const { return divisor; } in calcUpperBound()
830 divisor == ((const MultiplierSubstitution*)&rhs)->divisor;
851 , divisor(_divisor) in ModulusSubstitution()
879 divisor == ((const ModulusSubstitution*)&rhs)->divisor &&