_methods
Default methods for all Float.Opaque.Data.Numerical defined types
- Source
- Numerical.scala
Def
Remainder
Remainder
Returns the remainder of the division of this by given value
- Source
- Numerical.scala
Multiply
Multiply
Returns the product of this and given value
- Source
- Numerical.scala
Divide
Divide
Returns the quotient of this and given value
- Source
- Numerical.scala
Less
Less
Returns true
if current value is less than given, false
- otherwise
- Source
- Numerical.scala
Less or equal
Less or equal
Returns true
if current value is less or equal to given, false
- otherwise
- Source
- Numerical.scala
Range
Range
Returns Range from current to given value
Note. Range uses base primitive natural ordering
- Inherited from
- z_MethodsBase
- Source
- Ordered.scala
Exclusive end range
Exclusive end range
Returns Range from current to given value exclusive
Note. Range uses base primitive natural ordering
- Inherited from
- z_MethodsBase
- Source
- Ordered.scala
Greater
Greater
Returns true
if current value is greater than given, false
- otherwise
- Source
- Numerical.scala
Greater or equal
Greater or equal
Returns true
if current value is greater or equal to given, false
- otherwise
- Source
- Numerical.scala
To option
To option
Returns Float specialized option
- Inherited from
- _methods
- Source
- Base.scala
Max value
Max value
Returns maximum of current or given value
- Inherited from
- z_MethodsBase
- Source
- Ordered.scala
Min value
Min value
Returns minimun of current or given value
- Inherited from
- z_MethodsBase
- Source
- Ordered.scala
Real value
Real value
Returns Float value standing behind the opaque type.
This is a zero cost call.
- Inherited from
- _methods
- Source
- Base.scala
Round to decimal
Round to decimal
Rounds current value to specified decimal position of fractional value
- Source
- Numerical.scala
Sign
Sign
Returns -1 if this is negative, 0 - if this value equals to 0, and 1 otherwise
- Source
- Numerical.scala