org.deri.iris.builtins.numeric
Class NumericDivideBuiltin
java.lang.Object
org.deri.iris.builtins.AbstractBuiltin
org.deri.iris.builtins.ArithmeticBuiltin
org.deri.iris.builtins.DivideBuiltin
org.deri.iris.builtins.numeric.NumericDivideBuiltin
- All Implemented Interfaces:
- Comparable<IAtom>, IAtom, IBuiltinAtom
public class NumericDivideBuiltin
- extends DivideBuiltin
Represents the RIF built-in function func:numeric-divide.
|
Method Summary |
protected ITerm |
computeMissingTerm(int missingTermIndex,
ITerm[] terms)
Compute the missing term when the other two are known. |
NumericDivideBuiltin
public NumericDivideBuiltin(ITerm... terms)
computeMissingTerm
protected ITerm computeMissingTerm(int missingTermIndex,
ITerm[] terms)
throws EvaluationException
- Description copied from class:
ArithmeticBuiltin
- Compute the missing term when the other two are known.
- Overrides:
computeMissingTerm in class DivideBuiltin
terms - The collection of all terms.
- Returns:
- The computed value.
- Throws:
EvaluationException