io.sarl.lang.core.scoping.extensions.numbers.arithmetic
Class PrimitiveFloatArithmeticExtensions
final class PrimitiveFloatArithmeticExtensions
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,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,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,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,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,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,Number)
The binary power operator.
Action Details
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,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,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,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,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,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)