Lines Matching refs:divisor
70 double divisor;
80 : NFSubstitution(_pos, _ruleSet, formatter, description, status), divisor(_divisor)
82 ldivisor = util64_fromDouble(divisor);
83 if (divisor == 0) {
90 divisor = uprv_pow(radix, exponent);
91 ldivisor = util64_fromDouble(divisor);
93 if(divisor == 0) {
106 return uprv_floor(number / divisor);
108 return number/divisor;
113 return newRuleValue * divisor;
116 virtual double calcUpperBound(double /*oldUpperBound*/) const { return divisor; }
128 double divisor;
142 divisor = uprv_pow(radix, exponent);
143 ldivisor = util64_fromDouble(divisor);
145 if (divisor == 0) {
156 virtual double transformNumber(double number) const { return uprv_fmod(number, divisor); }
166 return oldRuleValue - uprv_fmod(oldRuleValue, divisor) + newRuleValue;
169 virtual double calcUpperBound(double /*oldUpperBound*/) const { return divisor; }
526 * Set's the substitution's divisor. Used by NFRule.setBaseValue().
529 * @param radix The radix of the divisor
530 * @param exponent The exponent of the divisor
764 // times the rule's divisor (or the rule's base value) plus
848 divisor == ((const MultiplierSubstitution*)&rhs)->divisor;
858 * divisor and formats the remainder. Represented by ">>" in a
869 , divisor(_divisor)
874 // the owning rule's divisor controls the behavior of this
876 // we keep a copy of the divisor
897 divisor == ((const ModulusSubstitution*)&rhs)->divisor &&