Lines Matching refs:other

75     public FloatValue generalize(FloatValue other)
77 return other.generalize(this);
80 public FloatValue add(FloatValue other)
82 return value == 0.0 ? other : other.add(this);
85 public FloatValue subtract(FloatValue other)
87 return value == 0.0 ? other.negate() : other.subtractFrom(this);
90 public FloatValue subtractFrom(FloatValue other)
92 return value == 0.0 ? other : other.subtract(this);
95 public FloatValue multiply(FloatValue other)
97 return other.multiply(this);
100 public FloatValue divide(FloatValue other)
102 return other.divideOf(this);
105 public FloatValue divideOf(FloatValue other)
107 return other.divide(this);
110 public FloatValue remainder(FloatValue other)
112 return other.remainderOf(this);
115 public FloatValue remainderOf(FloatValue other)
117 return other.remainder(this);
120 public IntegerValue compare(FloatValue other)
122 return other.compareReverse(this);
129 public FloatValue generalize(ParticularFloatValue other)
131 return this.value == other.value ? this : ValueFactory.FLOAT_VALUE;
134 public FloatValue add(ParticularFloatValue other)
136 return new ParticularFloatValue(this.value + other.value);
139 public FloatValue subtract(ParticularFloatValue other)
141 return new ParticularFloatValue(this.value - other.value);
144 public FloatValue subtractFrom(ParticularFloatValue other)
146 return new ParticularFloatValue(other.value - this.value);
149 public FloatValue multiply(ParticularFloatValue other)
151 return new ParticularFloatValue(this.value * other.value);
154 public FloatValue divide(ParticularFloatValue other)
156 return new ParticularFloatValue(this.value / other.value);
159 public FloatValue divideOf(ParticularFloatValue other)
161 return new ParticularFloatValue(other.value / this.value);
164 public FloatValue remainder(ParticularFloatValue other)
166 return new ParticularFloatValue(this.value % other.value);
169 public FloatValue remainderOf(ParticularFloatValue other)
171 return new ParticularFloatValue(other.value % this.value);
174 public IntegerValue compare(ParticularFloatValue other)
176 return this.value < other.value ? SpecificValueFactory.INTEGER_VALUE_M1 :
177 this.value == other.value ? SpecificValueFactory.INTEGER_VALUE_0 :