io.sarl.lang.core.scoping.extensions.numbers.arithmetic
Class DoubleArithmeticExtensions
final class DoubleArithmeticExtensions
extends java.lang.Object
Provide static operators for numbers of type Double.
Maven Group Identifier:
io.sarl.lang
Maven Artifact Identifier:
core
Since:
0.7
See:
"https://github.com/eclipse/xtext-extras/issues/186"
Action Summary
Modifier and type Action and description
static double operator_divide(Double,long)
The binary divide operator.
static double operator_divide(Double,byte)
The binary divide operator.
static double operator_divide(Double,int)
The binary divide operator.
static double operator_divide(Double,short)
The binary divide operator.
static double operator_divide(Double,double)
The binary divide operator.
static double operator_divide(Double,float)
The binary divide operator.
static double operator_minus(Double,long)
The binary minus operator.
static double operator_minus(Double,byte)
The binary minus operator.
static double operator_minus(Double,int)
The binary minus operator.
static double operator_minus(Double,short)
The binary minus operator.
static double operator_minus(Double,double)
The binary minus operator.
static double operator_minus(Double,float)
The binary minus operator.
static double operator_modulo(Double,long)
The binary modulo operator.
static double operator_modulo(Double,byte)
The binary modulo operator.
static double operator_modulo(Double,int)
The binary modulo operator.
static double operator_modulo(Double,short)
The binary modulo operator.
static double operator_modulo(Double,double)
The binary modulo operator.
static double operator_modulo(Double,float)
The binary modulo operator.
static double operator_modulo(Double,Number)
The binary modulo operator.
static double operator_multiply(Double,long)
The binary multiply operator.
static double operator_multiply(Double,byte)
The binary multiply operator.
static double operator_multiply(Double,int)
The binary multiply operator.
static double operator_multiply(Double,short)
The binary multiply operator.
static double operator_multiply(Double,double)
The binary multiply operator.
static double operator_multiply(Double,float)
The binary multiply operator.
static double operator_plus(Double,long)
The binary plus operator.
static double operator_plus(Double,byte)
The binary plus operator.
static double operator_plus(Double,int)
The binary plus operator.
static double operator_plus(Double,short)
The binary plus operator.
static double operator_plus(Double,double)
The binary plus operator.
static double operator_plus(Double,float)
The binary plus operator.
static double operator_power(Double,long)
The binary power operator.
static double operator_power(Double,byte)
The binary power operator.
static double operator_power(Double,int)
The binary power operator.
static double operator_power(Double,short)
The binary power operator.
static double operator_power(Double,double)
The binary power operator.
static double operator_power(Double,float)
The binary power operator.
Action Details
operator_divide(Double,long)
def operator_divide(Double,long) : double
The binary divide operator. This is the equivalent to the Java / operator. This function is not null-safe.
Parameters:
left - a number.
right - a number.
Returns:
left/right
operator_divide(Double,byte)
def operator_divide(Double,byte) : double
The binary divide operator. This is the equivalent to the Java / operator. This function is not null-safe.
Parameters:
left - a number.
right - a number.
Returns:
left/right
operator_divide(Double,int)
def operator_divide(Double,int) : double
The binary divide operator. This is the equivalent to the Java / operator. This function is not null-safe.
Parameters:
left - a number.
right - a number.
Returns:
left/right
operator_divide(Double,short)
def operator_divide(Double,short) : double
The binary divide operator. This is the equivalent to the Java / operator. This function is not null-safe.
Parameters:
left - a number.
right - a number.
Returns:
left/right
operator_divide(Double,double)
def operator_divide(Double,double) : double
The binary divide operator. This is the equivalent to the Java / operator. This function is not null-safe.
Parameters:
left - a number.
right - a number.
Returns:
left/right
operator_divide(Double,float)
def operator_divide(Double,float) : double
The binary divide operator. This is the equivalent to the Java / operator. This function is not null-safe.
Parameters:
left - a number.
right - a number.
Returns:
left/right
operator_minus(Double,long)
def operator_minus(Double,long) : double
The binary minus operator. This is the equivalent to the Java - operator. This function is not null-safe.
Parameters:
left - a number.
right - a number.
Returns:
left-right
operator_minus(Double,byte)
def operator_minus(Double,byte) : double
The binary minus operator. This is the equivalent to the Java - operator. This function is not null-safe.
Parameters:
left - a number.
right - a number.
Returns:
left-right
operator_minus(Double,int)
def operator_minus(Double,int) : double
The binary minus operator. This is the equivalent to the Java - operator. This function is not null-safe.
Parameters:
left - a number.
right - a number.
Returns:
left-right
operator_minus(Double,short)
def operator_minus(Double,short) : double
The binary minus operator. This is the equivalent to the Java - operator. This function is not null-safe.
Parameters:
left - a number.
right - a number.
Returns:
left-right
operator_minus(Double,double)
def operator_minus(Double,double) : double
The binary minus operator. This is the equivalent to the Java - operator. This function is not null-safe.
Parameters:
left - a number.
right - a number.
Returns:
left-right
operator_minus(Double,float)
def operator_minus(Double,float) : double
The binary minus operator. This is the equivalent to the Java - operator. This function is not null-safe.
Parameters:
left - a number.
right - a number.
Returns:
left-right
operator_modulo(Double,long)
def operator_modulo(Double,long) : double
The binary modulo operator. This is the equivalent to the Java % operator. This function is not null-safe.
Parameters:
left - a number.
right - a number.
Returns:
left%right
operator_modulo(Double,byte)
def operator_modulo(Double,byte) : double
The binary modulo operator. This is the equivalent to the Java % operator. This function is not null-safe.
Parameters:
left - a number.
right - a number.
Returns:
left%right
operator_modulo(Double,int)
def operator_modulo(Double,int) : double
The binary modulo operator. This is the equivalent to the Java % operator. This function is not null-safe.
Parameters:
left - a number.
right - a number.
Returns:
left%right
operator_modulo(Double,short)
def operator_modulo(Double,short) : double
The binary modulo operator. This is the equivalent to the Java % operator. This function is not null-safe.
Parameters:
left - a number.
right - a number.
Returns:
left%right
operator_modulo(Double,double)
def operator_modulo(Double,double) : double
The binary modulo operator. This is the equivalent to the Java % operator. This function is not null-safe.
Parameters:
left - a number.
right - a number.
Returns:
left%right
operator_modulo(Double,float)
def operator_modulo(Double,float) : double
The binary modulo operator. This is the equivalent to the Java % operator. This function is not null-safe.
Parameters:
left - a number.
right - a number.
Returns:
left%right
operator_modulo(Double,Number)
def operator_modulo(Double,Number) : double
The binary modulo operator. This is the equivalent to the Java % operator. This function is not null-safe.
Parameters:
left - a number.
right - a number.
Returns:
left%right
operator_multiply(Double,long)
def operator_multiply(Double,long) : double
The binary multiply operator. This is the equivalent to the Java * operator. This function is not null-safe.
Parameters:
left - a number.
right - a number.
Returns:
left*right
operator_multiply(Double,byte)
def operator_multiply(Double,byte) : double
The binary multiply operator. This is the equivalent to the Java * operator. This function is not null-safe.
Parameters:
left - a number.
right - a number.
Returns:
left*right
operator_multiply(Double,int)
def operator_multiply(Double,int) : double
The binary multiply operator. This is the equivalent to the Java * operator. This function is not null-safe.
Parameters:
left - a number.
right - a number.
Returns:
left*right
operator_multiply(Double,short)
def operator_multiply(Double,short) : double
The binary multiply operator. This is the equivalent to the Java * operator. This function is not null-safe.
Parameters:
left - a number.
right - a number.
Returns:
left*right
operator_multiply(Double,double)
def operator_multiply(Double,double) : double
The binary multiply operator. This is the equivalent to the Java * operator. This function is not null-safe.
Parameters:
left - a number.
right - a number.
Returns:
left*right
operator_multiply(Double,float)
def operator_multiply(Double,float) : double
The binary multiply operator. This is the equivalent to the Java * operator. This function is not null-safe.
Parameters:
left - a number.
right - a number.
Returns:
left*right
operator_plus(Double,long)
def operator_plus(Double,long) : double
The binary plus operator. This is the equivalent to the Java + operator. This function is not null-safe.
Parameters:
left - a number.
right - a number.
Returns:
left+right
operator_plus(Double,byte)
def operator_plus(Double,byte) : double
The binary plus operator. This is the equivalent to the Java + operator. This function is not null-safe.
Parameters:
left - a number.
right - a number.
Returns:
left+right
operator_plus(Double,int)
def operator_plus(Double,int) : double
The binary plus operator. This is the equivalent to the Java + operator. This function is not null-safe.
Parameters:
left - a number.
right - a number.
Returns:
left+right
operator_plus(Double,short)
def operator_plus(Double,short) : double
The binary plus operator. This is the equivalent to the Java + operator. This function is not null-safe.
Parameters:
left - a number.
right - a number.
Returns:
left+right
operator_plus(Double,double)
def operator_plus(Double,double) : double
The binary plus operator. This is the equivalent to the Java + operator. This function is not null-safe.
Parameters:
left - a number.
right - a number.
Returns:
left+right
operator_plus(Double,float)
def operator_plus(Double,float) : double
The binary plus operator. This is the equivalent to the Java + operator. This function is not null-safe.
Parameters:
left - a number.
right - a number.
Returns:
left+right
operator_power(Double,long)
def operator_power(Double,long) : double
The binary power operator. This is the equivalent to the Java's Math.pow() function. This function is not null-safe.
Parameters:
left - a number.
right - a number.
Returns:
Math::pow(left, right)
operator_power(Double,byte)
def operator_power(Double,byte) : double
The binary power operator. This is the equivalent to the Java's Math.pow() function. This function is not null-safe.
Parameters:
left - a number.
right - a number.
Returns:
Math::pow(left, right)
operator_power(Double,int)
def operator_power(Double,int) : double
The binary power operator. This is the equivalent to the Java's Math.pow() function. This function is not null-safe.
Parameters:
left - a number.
right - a number.
Returns:
Math::pow(left, right)
operator_power(Double,short)
def operator_power(Double,short) : double
The binary power operator. This is the equivalent to the Java's Math.pow() function.
Parameters:
left - a number.
right - a number.
Returns:
Math::pow(left, right)
operator_power(Double,double)
def operator_power(Double,double) : double
The binary power operator. This is the equivalent to the Java's Math.pow() function. This function is not null-safe.
Parameters:
left - a number.
right - a number.
Returns:
Math::pow(left, right)
operator_power(Double,float)
def operator_power(Double,float) : double
The binary power operator. This is the equivalent to the Java's Math.pow() function. This function is not null-safe.
Parameters:
left - a number.
right - a number.
Returns:
Math::pow(left, right)