Lines Matching full:divisor
69 double divisor;
78 : NFSubstitution(_pos, _ruleSet, description, status), divisor(_divisor)
80 ldivisor = util64_fromDouble(divisor);
81 if (divisor == 0) {
88 divisor = uprv_pow(radix, exponent);
89 ldivisor = util64_fromDouble(divisor);
91 if(divisor == 0) {
104 return uprv_floor(number / divisor);
106 return number/divisor;
111 return newRuleValue * divisor;
114 virtual double calcUpperBound(double /*oldUpperBound*/) const { return divisor; }
126 double divisor;
139 divisor = uprv_pow(radix, exponent);
140 ldivisor = util64_fromDouble(divisor);
142 if (divisor == 0) {
153 virtual double transformNumber(double number) const { return uprv_fmod(number, divisor); }
163 return oldRuleValue - uprv_fmod(oldRuleValue, divisor) + newRuleValue;
166 virtual double calcUpperBound(double /*oldUpperBound*/) const { return divisor; }
485 * Set's the substitution's divisor. Used by NFRule.setBaseValue().
488 * @param radix The radix of the divisor
489 * @param exponent The exponent of the divisor
734 // times the rule's divisor (or the rule's base value) plus
796 divisor == ((const MultiplierSubstitution*)&rhs)->divisor;
806 * divisor and formats the remainder. Represented by ">>" in a
816 , divisor(_divisor)
821 // the owning rule's divisor controls the behavior of this
823 // we keep a copy of the divisor
844 divisor == ((const ModulusSubstitution*)&rhs)->divisor &&