FloatField class

Inheritance

Constructors

FloatField()
const

Properties

additiveIdentity double
The additive neutral element.
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
infinity double
Positive infinity.
no setterinherited
multiplicativeIdentity double
The multiplicative neutral element.
no setteroverride
nan double
Not a number.
no setterinherited
negativeInfinity double
Negative infinity.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

add(double a, double b) double
Computes the addition: a + b.
override
div(double a, double b) double
Computes the division: a / b.
override
division(double a, double b) double
Computes a truncating division: a ~/ b.
override
gcd(double a, double b) double
Computes the greatest common divisor: gcd(a, b).
override
inv(double a) double
Computes the multiplicative inverse: 1 / a.
override
mod(double a, double b) double
Computes the remainder of the Euclidean division a % b.
override
modInverse(double base, double modulus) double
Computes the modular multiplicative inverse of base modulo modulus.
override
modPow(double base, double exponent, double modulus) double
Computes base to the power of exponent modulo modulus.
override
mul(double a, double b) double
Computes the multiplication: a * b.
override
neg(double a) double
Computes the additive inverse: -a.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pow(double base, double exponent) double
Computes base to the power of exponent.
override
remainder(double a, double b) double
Computes the remainder of the truncating division.
override
scale(double a, num f) double
Computes the multiplicative scaling: a * f.
override
sub(double a, double b) double
Computes the subtraction: a - b.
override
toString() String
A string representation of this object.
inherited
unsupportedOperation(String operation) double
Thrown when an operation is not supported.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited