/** * Returns the sum of this FloatValue and the given SpecificFloatValue. */ public FloatValue add(SpecificFloatValue other) { return add((FloatValue)other); }
/** * Returns an IntegerValue with value -1, 0, or 1, if this FloatValue is * less than, equal to, or greater than the given ParticularFloatValue, * respectively. */ public IntegerValue compare(ParticularFloatValue other) { return compare((SpecificFloatValue)other); }
public IntegerValue compare(FloatValue other) { return other.compareReverse(this); }
stack.push(stack.fpop().add(stack.fpop())); break; stack.push(stack.fpop().subtractFrom(stack.fpop())); break; stack.push(stack.fpop().multiply(stack.fpop())); break; stack.push(stack.fpop().divideOf(stack.fpop())); break; stack.push(stack.fpop().remainderOf(stack.fpop())); break; stack.push(stack.fpop().negate()); break; stack.push(stack.fpop().convertToInteger()); break; stack.push(stack.fpop().convertToLong()); break; stack.push(stack.fpop().convertToDouble()); break; FloatValue floatValue1 = stack.fpop(); FloatValue floatValue2 = stack.fpop();
/** * Returns the quotient of the given ParticularFloatValue and this * FloatValue. */ public FloatValue divideOf(ParticularFloatValue other) { return divideOf((SpecificFloatValue)other); }
/** * Returns the quotient of this FloatValue and the given SpecificFloatValue. */ public FloatValue divide(SpecificFloatValue other) { return divide((FloatValue)other); }
/** * Returns the product of this FloatValue and the given SpecificFloatValue. */ public FloatValue multiply(SpecificFloatValue other) { return multiply((FloatValue)other); }
/** * Returns the generalization of this FloatValue and the given other * SpecificFloatValue. */ public FloatValue generalize(SpecificFloatValue other) { return generalize((FloatValue)other); }
stack.push(stack.fpop().add(stack.fpop())); break; stack.push(stack.fpop().subtractFrom(stack.fpop())); break; stack.push(stack.fpop().multiply(stack.fpop())); break; stack.push(stack.fpop().divideOf(stack.fpop())); break; stack.push(stack.fpop().remainderOf(stack.fpop())); break; stack.push(stack.fpop().negate()); break; stack.push(stack.fpop().convertToInteger()); break; stack.push(stack.fpop().convertToLong()); break; stack.push(stack.fpop().convertToDouble()); break; FloatValue floatValue1 = stack.fpop(); FloatValue floatValue2 = stack.fpop();
/** * Returns the quotient of the given ParticularFloatValue and this * FloatValue. */ public FloatValue divideOf(ParticularFloatValue other) { return divideOf((SpecificFloatValue)other); }
/** * Returns the quotient of this FloatValue and the given ParticularFloatValue. */ public FloatValue divide(ParticularFloatValue other) { return divide((SpecificFloatValue)other); }
/** * Returns the product of this FloatValue and the given SpecificFloatValue. */ public FloatValue multiply(SpecificFloatValue other) { return multiply((FloatValue)other); }
/** * Returns the generalization of this FloatValue and the given other * ParticularFloatValue. */ public FloatValue generalize(ParticularFloatValue other) { return generalize((SpecificFloatValue)other); }
stack.push(stack.fpop().add(stack.fpop())); break; stack.push(stack.fpop().subtractFrom(stack.fpop())); break; stack.push(stack.fpop().multiply(stack.fpop())); break; stack.push(stack.fpop().divideOf(stack.fpop())); break; stack.push(stack.fpop().remainderOf(stack.fpop())); break; stack.push(stack.fpop().negate()); break; stack.push(stack.fpop().convertToInteger()); break; stack.push(stack.fpop().convertToLong()); break; stack.push(stack.fpop().convertToDouble()); break; FloatValue floatValue1 = stack.fpop(); FloatValue floatValue2 = stack.fpop();
/** * Returns an IntegerValue with value -1, 0, or 1, if this FloatValue is * less than, equal to, or greater than the given SpecificFloatValue, * respectively. */ public IntegerValue compare(SpecificFloatValue other) { return compare((FloatValue)other); }
/** * Returns the sum of this FloatValue and the given SpecificFloatValue. */ public FloatValue add(SpecificFloatValue other) { return add((FloatValue)other); }
/** * Returns the quotient of the given SpecificFloatValue and this * FloatValue. */ public FloatValue divideOf(SpecificFloatValue other) { return divideOf((FloatValue)other); }
/** * Returns the quotient of this FloatValue and the given ParticularFloatValue. */ public FloatValue divide(ParticularFloatValue other) { return divide((SpecificFloatValue)other); }
/** * Returns the product of this FloatValue and the given ParticularFloatValue. */ public FloatValue multiply(ParticularFloatValue other) { return multiply((SpecificFloatValue)other); }
/** * Returns the generalization of this FloatValue and the given other * ParticularFloatValue. */ public FloatValue generalize(ParticularFloatValue other) { return generalize((SpecificFloatValue)other); }