io.sarl.lang.core.scoping.extensions.numbers.arithmetic
Class FloatArithmeticExtensions
final class FloatArithmeticExtensions
extends java.lang.Object
Provide static operators for numbers of type Float.
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 float operator_divide(Float,long)
The binary divide operator.
static float operator_divide(Float,byte)
The binary divide operator.
static float operator_divide(Float,int)
The binary divide operator.
static float operator_divide(Float,short)
The binary divide operator.
static double operator_divide(Float,double)
The binary divide operator.
static float operator_divide(Float,float)
The binary divide operator.
static float operator_divide(Float,Byte)
The binary divide operator.
static float operator_divide(Float,Float)
The binary divide operator.
static float operator_divide(Float,Integer)
The binary divide operator.
static float operator_divide(Float,Long)
The binary divide operator.
static double operator_divide(Float,Number)
The binary divide operator.
static float operator_divide(Float,Short)
The binary divide operator.
static float operator_divide(Float,AtomicInteger)
The binary divide operator.
static float operator_divide(Float,AtomicLong)
The binary divide operator.
static float operator_minus(Float)
The unary minus operator.
static float operator_minus(Float,long)
The binary minus operator.
static float operator_minus(Float,byte)
The binary minus operator.
static float operator_minus(Float,int)
The binary minus operator.
static float operator_minus(Float,short)
The binary minus operator.
static double operator_minus(Float,double)
The binary minus operator.
static float operator_minus(Float,float)
The binary minus operator.
static float operator_minus(Float,Byte)
The binary minus operator.
static float operator_minus(Float,Float)
The binary minus operator.
static float operator_minus(Float,Integer)
The binary minus operator.
static float operator_minus(Float,Long)
The binary minus operator.
static double operator_minus(Float,Number)
The binary minus operator.
static float operator_minus(Float,Short)
The binary minus operator.
static float operator_minus(Float,AtomicInteger)
The binary minus operator.
static float operator_minus(Float,AtomicLong)
The binary minus operator.
static float operator_modulo(Float,long)
The binary modulo operator.
static float operator_modulo(Float,byte)
The binary modulo operator.
static float operator_modulo(Float,int)
The binary modulo operator.
static float operator_modulo(Float,short)
The binary modulo operator.
static double operator_modulo(Float,double)
The binary modulo operator.
static float operator_modulo(Float,float)
The binary modulo operator.
static float operator_modulo(Float,Byte)
The binary modulo operator.
static float operator_modulo(Float,Float)
The binary modulo operator.
static float operator_modulo(Float,Integer)
The binary modulo operator.
static float operator_modulo(Float,Long)
The binary modulo operator.
static double operator_modulo(Float,Number)
The binary modulo operator.
static float operator_modulo(Float,Short)
The binary modulo operator.
static float operator_modulo(Float,AtomicInteger)
The binary modulo operator.
static float operator_modulo(Float,AtomicLong)
The binary modulo operator.
static float operator_multiply(Float,long)
The binary multiply operator.
static float operator_multiply(Float,byte)
The binary multiply operator.
static float operator_multiply(Float,int)
The binary multiply operator.
static float operator_multiply(Float,short)
The binary multiply operator.
static double operator_multiply(Float,double)
The binary multiply operator.
static float operator_multiply(Float,float)
The binary multiply operator.
static float operator_multiply(Float,Byte)
The binary multiply operator.
static float operator_multiply(Float,Float)
The binary multiply operator.
static float operator_multiply(Float,Integer)
The binary multiply operator.
static float operator_multiply(Float,Long)
The binary multiply operator.
static double operator_multiply(Float,Number)
The binary multiply operator.
static float operator_multiply(Float,Short)
The binary multiply operator.
static float operator_multiply(Float,AtomicInteger)
The binary multiply operator.
static float operator_multiply(Float,AtomicLong)
The binary multiply operator.
static float operator_plus(Float,long)
The binary plus operator.
static float operator_plus(Float,byte)
The binary plus operator.
static float operator_plus(Float,int)
The binary plus operator.
static float operator_plus(Float,short)
The binary plus operator.
static double operator_plus(Float,double)
The binary plus operator.
static float operator_plus(Float,float)
The binary plus operator.
static float operator_plus(Float,Byte)
The binary plus operator.
static float operator_plus(Float,Float)
The binary plus operator.
static float operator_plus(Float,Integer)
The binary plus operator.
static float operator_plus(Float,Long)
The binary plus operator.
static double operator_plus(Float,Number)
The binary plus operator.
static float operator_plus(Float,Short)
The binary plus operator.
static float operator_plus(Float,AtomicInteger)
The binary plus operator.
static float operator_plus(Float,AtomicLong)
The binary plus operator.
static double operator_power(Float,long)
The binary power operator.
static double operator_power(Float,byte)
The binary power operator.
static double operator_power(Float,int)
The binary power operator.
static double operator_power(Float,short)
The binary power operator.
static double operator_power(Float,double)
The binary power operator.
static double operator_power(Float,float)
The binary power operator.
static double operator_power(Float,Number)
The binary power operator.
Action Details
operator_divide(Float,long)
def operator_divide(Float,long) : float
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(Float,byte)
def operator_divide(Float,byte) : float
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(Float,int)
def operator_divide(Float,int) : float
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(Float,short)
def operator_divide(Float,short) : float
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(Float,double)
def operator_divide(Float,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(Float,float)
def operator_divide(Float,float) : float
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(Float,Byte)
def operator_divide(Float,Byte) : float
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(Float,Float)
def operator_divide(Float,Float) : float
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(Float,Integer)
def operator_divide(Float,Integer) : float
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(Float,Long)
def operator_divide(Float,Long) : float
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(Float,Number)
def operator_divide(Float,Number) : 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(Float,Short)
def operator_divide(Float,Short) : float
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(Float,AtomicInteger)
def operator_divide(Float,AtomicInteger) : float
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(Float,AtomicLong)
def operator_divide(Float,AtomicLong) : float
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(Float)
def operator_minus(Float) : float
The unary minus operator. This is the equivalent to the Java's - function. This function is not null-safe.
Parameters:
number - a number.
Returns:
-number
operator_minus(Float,long)
def operator_minus(Float,long) : float
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(Float,byte)
def operator_minus(Float,byte) : float
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(Float,int)
def operator_minus(Float,int) : float
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(Float,short)
def operator_minus(Float,short) : float
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(Float,double)
def operator_minus(Float,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(Float,float)
def operator_minus(Float,float) : float
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(Float,Byte)
def operator_minus(Float,Byte) : float
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(Float,Float)
def operator_minus(Float,Float) : float
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(Float,Integer)
def operator_minus(Float,Integer) : float
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(Float,Long)
def operator_minus(Float,Long) : float
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(Float,Number)
def operator_minus(Float,Number) : 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(Float,Short)
def operator_minus(Float,Short) : float
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(Float,AtomicInteger)
def operator_minus(Float,AtomicInteger) : float
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(Float,AtomicLong)
def operator_minus(Float,AtomicLong) : float
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(Float,long)
def operator_modulo(Float,long) : float
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(Float,byte)
def operator_modulo(Float,byte) : float
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(Float,int)
def operator_modulo(Float,int) : float
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(Float,short)
def operator_modulo(Float,short) : float
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(Float,double)
def operator_modulo(Float,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(Float,float)
def operator_modulo(Float,float) : float
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(Float,Byte)
def operator_modulo(Float,Byte) : float
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(Float,Float)
def operator_modulo(Float,Float) : float
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(Float,Integer)
def operator_modulo(Float,Integer) : float
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(Float,Long)
def operator_modulo(Float,Long) : float
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(Float,Number)
def operator_modulo(Float,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_modulo(Float,Short)
def operator_modulo(Float,Short) : float
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(Float,AtomicInteger)
def operator_modulo(Float,AtomicInteger) : float
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(Float,AtomicLong)
def operator_modulo(Float,AtomicLong) : float
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(Float,long)
def operator_multiply(Float,long) : float
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(Float,byte)
def operator_multiply(Float,byte) : float
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(Float,int)
def operator_multiply(Float,int) : float
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(Float,short)
def operator_multiply(Float,short) : float
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(Float,double)
def operator_multiply(Float,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(Float,float)
def operator_multiply(Float,float) : float
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(Float,Byte)
def operator_multiply(Float,Byte) : float
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(Float,Float)
def operator_multiply(Float,Float) : float
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(Float,Integer)
def operator_multiply(Float,Integer) : float
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(Float,Long)
def operator_multiply(Float,Long) : float
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(Float,Number)
def operator_multiply(Float,Number) : 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(Float,Short)
def operator_multiply(Float,Short) : float
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(Float,AtomicInteger)
def operator_multiply(Float,AtomicInteger) : float
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(Float,AtomicLong)
def operator_multiply(Float,AtomicLong) : float
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(Float,long)
def operator_plus(Float,long) : float
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(Float,byte)
def operator_plus(Float,byte) : float
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(Float,int)
def operator_plus(Float,int) : float
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(Float,short)
def operator_plus(Float,short) : float
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(Float,double)
def operator_plus(Float,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(Float,float)
def operator_plus(Float,float) : float
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(Float,Byte)
def operator_plus(Float,Byte) : float
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(Float,Float)
def operator_plus(Float,Float) : float
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(Float,Integer)
def operator_plus(Float,Integer) : float
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(Float,Long)
def operator_plus(Float,Long) : float
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(Float,Number)
def operator_plus(Float,Number) : 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(Float,Short)
def operator_plus(Float,Short) : float
The binary plus operator. This is the equivalent to the Java + operator.
Parameters:
left - a number.
right - a number.
Returns:
left+right
operator_plus(Float,AtomicInteger)
def operator_plus(Float,AtomicInteger) : float
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(Float,AtomicLong)
def operator_plus(Float,AtomicLong) : float
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(Float,long)
def operator_power(Float,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(Float,byte)
def operator_power(Float,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(Float,int)
def operator_power(Float,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(Float,short)
def operator_power(Float,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(Float,double)
def operator_power(Float,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(Float,float)
def operator_power(Float,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)
operator_power(Float,Number)
def operator_power(Float,Number) : 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)