All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.snapscript.tree.math.NumericCalculator Maven / Gradle / Ivy

There is a newer version: 1.4.6
Show newest version
package org.snapscript.tree.math;

import org.snapscript.core.Value;

public interface NumericCalculator {
   Value power(Number left, Number right);
   Value add(Number left, Number right);
   Value subtract(Number left, Number right);
   Value divide(Number left, Number right);
   Value multiply(Number left, Number right);
   Value modulus(Number left, Number right);
   Value shiftLeft(Number left, Number right);
   Value shiftRight(Number left, Number right);
   Value unsignedShiftRight(Number left, Number right);
   Value and(Number left, Number right);
   Value or(Number left, Number right);
   Value xor(Number left, Number right);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy