Float

scala.Float
See theFloat companion object
final abstract class Float() extends AnyVal

Float, a 32-bit IEEE-754 floating point number (equivalent to Java's float primitive type) is a subtype of scala.AnyVal. Instances of Float are not represented by an object in the underlying runtime system.

The companion object provides useful non-primitive operations as extension methods.

Attributes

Companion
object
Source
Float.scala
Graph
Supertypes
class AnyVal
trait Matchable
class Any

Members list

Value members

Abstract methods

def !=(x: Byte): Boolean
Implicitly added by float2double

Returns true if this value is not equal to x, false otherwise.

Returns true if this value is not equal to x, false otherwise.

Attributes

Source
Double.scala
def !=(x: Short): Boolean
Implicitly added by float2double

Returns true if this value is not equal to x, false otherwise.

Returns true if this value is not equal to x, false otherwise.

Attributes

Source
Double.scala
def !=(x: Char): Boolean
Implicitly added by float2double

Returns true if this value is not equal to x, false otherwise.

Returns true if this value is not equal to x, false otherwise.

Attributes

Source
Double.scala
def !=(x: Int): Boolean
Implicitly added by float2double

Returns true if this value is not equal to x, false otherwise.

Returns true if this value is not equal to x, false otherwise.

Attributes

Source
Double.scala
def !=(x: Long): Boolean
Implicitly added by float2double

Returns true if this value is not equal to x, false otherwise.

Returns true if this value is not equal to x, false otherwise.

Attributes

Source
Double.scala
def !=(x: Float): Boolean
Implicitly added by float2double

Returns true if this value is not equal to x, false otherwise.

Returns true if this value is not equal to x, false otherwise.

Attributes

Source
Double.scala
def !=(x: Double): Boolean
Implicitly added by float2double

Returns true if this value is not equal to x, false otherwise.

Returns true if this value is not equal to x, false otherwise.

Attributes

Source
Double.scala
def !=(x: Byte): Boolean

Returns true if this value is not equal to x, false otherwise.

Returns true if this value is not equal to x, false otherwise.

Attributes

Source
Float.scala
def !=(x: Short): Boolean

Returns true if this value is not equal to x, false otherwise.

Returns true if this value is not equal to x, false otherwise.

Attributes

Source
Float.scala
def !=(x: Char): Boolean

Returns true if this value is not equal to x, false otherwise.

Returns true if this value is not equal to x, false otherwise.

Attributes

Source
Float.scala
def !=(x: Int): Boolean

Returns true if this value is not equal to x, false otherwise.

Returns true if this value is not equal to x, false otherwise.

Attributes

Source
Float.scala
def !=(x: Long): Boolean

Returns true if this value is not equal to x, false otherwise.

Returns true if this value is not equal to x, false otherwise.

Attributes

Source
Float.scala
def !=(x: Float): Boolean

Returns true if this value is not equal to x, false otherwise.

Returns true if this value is not equal to x, false otherwise.

Attributes

Source
Float.scala
def !=(x: Double): Boolean

Returns true if this value is not equal to x, false otherwise.

Returns true if this value is not equal to x, false otherwise.

Attributes

Source
Float.scala
def %(x: Byte): Double
Implicitly added by float2double

Returns the remainder of the division of this value by x.

Returns the remainder of the division of this value by x.

Value parameters

x

the divisor

Attributes

Source
Double.scala
def %(x: Short): Double
Implicitly added by float2double

Returns the remainder of the division of this value by x.

Returns the remainder of the division of this value by x.

Value parameters

x

the divisor

Attributes

Source
Double.scala
def %(x: Char): Double
Implicitly added by float2double

Returns the remainder of the division of this value by x.

Returns the remainder of the division of this value by x.

Value parameters

x

the divisor

Attributes

Source
Double.scala
def %(x: Int): Double
Implicitly added by float2double

Returns the remainder of the division of this value by x.

Returns the remainder of the division of this value by x.

Value parameters

x

the divisor

Attributes

Source
Double.scala
def %(x: Long): Double
Implicitly added by float2double

Returns the remainder of the division of this value by x.

Returns the remainder of the division of this value by x.

Value parameters

x

the divisor

Attributes

Source
Double.scala
def %(x: Float): Double
Implicitly added by float2double

Returns the remainder of the division of this value by x.

Returns the remainder of the division of this value by x.

Value parameters

x

the divisor

Attributes

Source
Double.scala
def %(x: Double): Double
Implicitly added by float2double

Returns the remainder of the division of this value by x.

Returns the remainder of the division of this value by x.

Value parameters

x

the divisor

Attributes

Source
Double.scala
def %(x: Byte): Float

Returns the remainder of the division of this value by x.

Returns the remainder of the division of this value by x.

Value parameters

x

the divisor

Attributes

Source
Float.scala
def %(x: Short): Float

Returns the remainder of the division of this value by x.

Returns the remainder of the division of this value by x.

Value parameters

x

the divisor

Attributes

Source
Float.scala
def %(x: Char): Float

Returns the remainder of the division of this value by x.

Returns the remainder of the division of this value by x.

Value parameters

x

the divisor

Attributes

Source
Float.scala
def %(x: Int): Float

Returns the remainder of the division of this value by x.

Returns the remainder of the division of this value by x.

Value parameters

x

the divisor

Attributes

Source
Float.scala
def %(x: Long): Float

Returns the remainder of the division of this value by x.

Returns the remainder of the division of this value by x.

Value parameters

x

the divisor

Attributes

Source
Float.scala
def %(x: Float): Float

Returns the remainder of the division of this value by x.

Returns the remainder of the division of this value by x.

Value parameters

x

the divisor

Attributes

Source
Float.scala
def %(x: Double): Double

Returns the remainder of the division of this value by x.

Returns the remainder of the division of this value by x.

Value parameters

x

the divisor

Attributes

Source
Float.scala
def *(x: Byte): Double
Implicitly added by float2double

Returns the product of this value and x.

Returns the product of this value and x.

Value parameters

x

the value to multiply this value by

Attributes

Source
Double.scala
def *(x: Short): Double
Implicitly added by float2double

Returns the product of this value and x.

Returns the product of this value and x.

Value parameters

x

the value to multiply this value by

Attributes

Source
Double.scala
def *(x: Char): Double
Implicitly added by float2double

Returns the product of this value and x.

Returns the product of this value and x.

Value parameters

x

the value to multiply this value by

Attributes

Source
Double.scala
def *(x: Int): Double
Implicitly added by float2double

Returns the product of this value and x.

Returns the product of this value and x.

Value parameters

x

the value to multiply this value by

Attributes

Source
Double.scala
def *(x: Long): Double
Implicitly added by float2double

Returns the product of this value and x.

Returns the product of this value and x.

Value parameters

x

the value to multiply this value by

Attributes

Source
Double.scala
def *(x: Float): Double
Implicitly added by float2double

Returns the product of this value and x.

Returns the product of this value and x.

Value parameters

x

the value to multiply this value by

Attributes

Source
Double.scala
def *(x: Double): Double
Implicitly added by float2double

Returns the product of this value and x.

Returns the product of this value and x.

Value parameters

x

the value to multiply this value by

Attributes

Source
Double.scala
def *(x: Byte): Float

Returns the product of this value and x.

Returns the product of this value and x.

Value parameters

x

the value to multiply this value by

Attributes

Source
Float.scala
def *(x: Short): Float

Returns the product of this value and x.

Returns the product of this value and x.

Value parameters

x

the value to multiply this value by

Attributes

Source
Float.scala
def *(x: Char): Float

Returns the product of this value and x.

Returns the product of this value and x.

Value parameters

x

the value to multiply this value by

Attributes

Source
Float.scala
def *(x: Int): Float

Returns the product of this value and x.

Returns the product of this value and x.

Value parameters

x

the value to multiply this value by

Attributes

Source
Float.scala
def *(x: Long): Float

Returns the product of this value and x.

Returns the product of this value and x.

Value parameters

x

the value to multiply this value by

Attributes

Source
Float.scala
def *(x: Float): Float

Returns the product of this value and x.

Returns the product of this value and x.

Value parameters

x

the value to multiply this value by

Attributes

Source
Float.scala
def *(x: Double): Double

Returns the product of this value and x.

Returns the product of this value and x.

Value parameters

x

the value to multiply this value by

Attributes

Source
Float.scala
def +(x: Byte): Double
Implicitly added by float2double

Returns the sum of this value and x.

Returns the sum of this value and x.

Value parameters

x

the value to add to this value

Attributes

Source
Double.scala
def +(x: Short): Double
Implicitly added by float2double

Returns the sum of this value and x.

Returns the sum of this value and x.

Value parameters

x

the value to add to this value

Attributes

Source
Double.scala
def +(x: Char): Double
Implicitly added by float2double

Returns the sum of this value and x.

Returns the sum of this value and x.

Value parameters

x

the value to add to this value

Attributes

Source
Double.scala
def +(x: Int): Double
Implicitly added by float2double

Returns the sum of this value and x.

Returns the sum of this value and x.

Value parameters

x

the value to add to this value

Attributes

Source
Double.scala
def +(x: Long): Double
Implicitly added by float2double

Returns the sum of this value and x.

Returns the sum of this value and x.

Value parameters

x

the value to add to this value

Attributes

Source
Double.scala
def +(x: Float): Double
Implicitly added by float2double

Returns the sum of this value and x.

Returns the sum of this value and x.

Value parameters

x

the value to add to this value

Attributes

Source
Double.scala
def +(x: Double): Double
Implicitly added by float2double

Returns the sum of this value and x.

Returns the sum of this value and x.

Value parameters

x

the value to add to this value

Attributes

Source
Double.scala
def +(x: Byte): Float

Returns the sum of this value and x.

Returns the sum of this value and x.

Value parameters

x

the value to add to this value

Attributes

Source
Float.scala
def +(x: Short): Float

Returns the sum of this value and x.

Returns the sum of this value and x.

Value parameters

x

the value to add to this value

Attributes

Source
Float.scala
def +(x: Char): Float

Returns the sum of this value and x.

Returns the sum of this value and x.

Value parameters

x

the value to add to this value

Attributes

Source
Float.scala
def +(x: Int): Float

Returns the sum of this value and x.

Returns the sum of this value and x.

Value parameters

x

the value to add to this value

Attributes

Source
Float.scala
def +(x: Long): Float

Returns the sum of this value and x.

Returns the sum of this value and x.

Value parameters

x

the value to add to this value

Attributes

Source
Float.scala
def +(x: Float): Float

Returns the sum of this value and x.

Returns the sum of this value and x.

Value parameters

x

the value to add to this value

Attributes

Source
Float.scala
def +(x: Double): Double

Returns the sum of this value and x.

Returns the sum of this value and x.

Value parameters

x

the value to add to this value

Attributes

Source
Float.scala
def -(x: Byte): Double
Implicitly added by float2double

Returns the difference of this value and x.

Returns the difference of this value and x.

Value parameters

x

the value to subtract from this value

Attributes

Source
Double.scala
def -(x: Short): Double
Implicitly added by float2double

Returns the difference of this value and x.

Returns the difference of this value and x.

Value parameters

x

the value to subtract from this value

Attributes

Source
Double.scala
def -(x: Char): Double
Implicitly added by float2double

Returns the difference of this value and x.

Returns the difference of this value and x.

Value parameters

x

the value to subtract from this value

Attributes

Source
Double.scala
def -(x: Int): Double
Implicitly added by float2double

Returns the difference of this value and x.

Returns the difference of this value and x.

Value parameters

x

the value to subtract from this value

Attributes

Source
Double.scala
def -(x: Long): Double
Implicitly added by float2double

Returns the difference of this value and x.

Returns the difference of this value and x.

Value parameters

x

the value to subtract from this value

Attributes

Source
Double.scala
def -(x: Float): Double
Implicitly added by float2double

Returns the difference of this value and x.

Returns the difference of this value and x.

Value parameters

x

the value to subtract from this value

Attributes

Source
Double.scala
def -(x: Double): Double
Implicitly added by float2double

Returns the difference of this value and x.

Returns the difference of this value and x.

Value parameters

x

the value to subtract from this value

Attributes

Source
Double.scala
def -(x: Byte): Float

Returns the difference of this value and x.

Returns the difference of this value and x.

Value parameters

x

the value to subtract from this value

Attributes

Source
Float.scala
def -(x: Short): Float

Returns the difference of this value and x.

Returns the difference of this value and x.

Value parameters

x

the value to subtract from this value

Attributes

Source
Float.scala
def -(x: Char): Float

Returns the difference of this value and x.

Returns the difference of this value and x.

Value parameters

x

the value to subtract from this value

Attributes

Source
Float.scala
def -(x: Int): Float

Returns the difference of this value and x.

Returns the difference of this value and x.

Value parameters

x

the value to subtract from this value

Attributes

Source
Float.scala
def -(x: Long): Float

Returns the difference of this value and x.

Returns the difference of this value and x.

Value parameters

x

the value to subtract from this value

Attributes

Source
Float.scala
def -(x: Float): Float

Returns the difference of this value and x.

Returns the difference of this value and x.

Value parameters

x

the value to subtract from this value

Attributes

Source
Float.scala
def -(x: Double): Double

Returns the difference of this value and x.

Returns the difference of this value and x.

Value parameters

x

the value to subtract from this value

Attributes

Source
Float.scala
def /(x: Byte): Double
Implicitly added by float2double

Returns the quotient of this value and x.

Returns the quotient of this value and x.

Value parameters

x

the value to divide this value by

Attributes

Source
Double.scala
def /(x: Short): Double
Implicitly added by float2double

Returns the quotient of this value and x.

Returns the quotient of this value and x.

Value parameters

x

the value to divide this value by

Attributes

Source
Double.scala
def /(x: Char): Double
Implicitly added by float2double

Returns the quotient of this value and x.

Returns the quotient of this value and x.

Value parameters

x

the value to divide this value by

Attributes

Source
Double.scala
def /(x: Int): Double
Implicitly added by float2double

Returns the quotient of this value and x.

Returns the quotient of this value and x.

Value parameters

x

the value to divide this value by

Attributes

Source
Double.scala
def /(x: Long): Double
Implicitly added by float2double

Returns the quotient of this value and x.

Returns the quotient of this value and x.

Value parameters

x

the value to divide this value by

Attributes

Source
Double.scala
def /(x: Float): Double
Implicitly added by float2double

Returns the quotient of this value and x.

Returns the quotient of this value and x.

Value parameters

x

the value to divide this value by

Attributes

Source
Double.scala
def /(x: Double): Double
Implicitly added by float2double

Returns the quotient of this value and x.

Returns the quotient of this value and x.

Value parameters

x

the value to divide this value by

Attributes

Source
Double.scala
def /(x: Byte): Float

Returns the quotient of this value and x.

Returns the quotient of this value and x.

Value parameters

x

the value to divide this value by

Attributes

Source
Float.scala
def /(x: Short): Float

Returns the quotient of this value and x.

Returns the quotient of this value and x.

Value parameters

x

the value to divide this value by

Attributes

Source
Float.scala
def /(x: Char): Float

Returns the quotient of this value and x.

Returns the quotient of this value and x.

Value parameters

x

the value to divide this value by

Attributes

Source
Float.scala
def /(x: Int): Float

Returns the quotient of this value and x.

Returns the quotient of this value and x.

Value parameters

x

the value to divide this value by

Attributes

Source
Float.scala
def /(x: Long): Float

Returns the quotient of this value and x.

Returns the quotient of this value and x.

Value parameters

x

the value to divide this value by

Attributes

Source
Float.scala
def /(x: Float): Float

Returns the quotient of this value and x.

Returns the quotient of this value and x.

Value parameters

x

the value to divide this value by

Attributes

Source
Float.scala
def /(x: Double): Double

Returns the quotient of this value and x.

Returns the quotient of this value and x.

Value parameters

x

the value to divide this value by

Attributes

Source
Float.scala
def <(x: Byte): Boolean
Implicitly added by float2double

Returns true if this value is less than x, false otherwise.

Returns true if this value is less than x, false otherwise.

Value parameters

x

the value to compare against this one

Attributes

Source
Double.scala
def <(x: Short): Boolean
Implicitly added by float2double

Returns true if this value is less than x, false otherwise.

Returns true if this value is less than x, false otherwise.

Value parameters

x

the value to compare against this one

Attributes

Source
Double.scala
def <(x: Char): Boolean
Implicitly added by float2double

Returns true if this value is less than x, false otherwise.

Returns true if this value is less than x, false otherwise.

Value parameters

x

the value to compare against this one

Attributes

Source
Double.scala
def <(x: Int): Boolean
Implicitly added by float2double

Returns true if this value is less than x, false otherwise.

Returns true if this value is less than x, false otherwise.

Value parameters

x

the value to compare against this one

Attributes

Source
Double.scala
def <(x: Long): Boolean
Implicitly added by float2double

Returns true if this value is less than x, false otherwise.

Returns true if this value is less than x, false otherwise.

Value parameters

x

the value to compare against this one

Attributes

Source
Double.scala
def <(x: Float): Boolean
Implicitly added by float2double

Returns true if this value is less than x, false otherwise.

Returns true if this value is less than x, false otherwise.

Value parameters

x

the value to compare against this one

Attributes

Source
Double.scala
def <(x: Double): Boolean
Implicitly added by float2double

Returns true if this value is less than x, false otherwise.

Returns true if this value is less than x, false otherwise.

Value parameters

x

the value to compare against this one

Attributes

Source
Double.scala
def <(x: Byte): Boolean

Returns true if this value is less than x, false otherwise.

Returns true if this value is less than x, false otherwise.

Value parameters

x

the value to compare against

Attributes

Source
Float.scala
def <(x: Short): Boolean

Returns true if this value is less than x, false otherwise.

Returns true if this value is less than x, false otherwise.

Value parameters

x

the value to compare against

Attributes

Source
Float.scala
def <(x: Char): Boolean

Returns true if this value is less than x, false otherwise.

Returns true if this value is less than x, false otherwise.

Value parameters

x

the value to compare against

Attributes

Source
Float.scala
def <(x: Int): Boolean

Returns true if this value is less than x, false otherwise.

Returns true if this value is less than x, false otherwise.

Value parameters

x

the value to compare against

Attributes

Source
Float.scala
def <(x: Long): Boolean

Returns true if this value is less than x, false otherwise.

Returns true if this value is less than x, false otherwise.

Value parameters

x

the value to compare against

Attributes

Source
Float.scala
def <(x: Float): Boolean

Returns true if this value is less than x, false otherwise.

Returns true if this value is less than x, false otherwise.

Value parameters

x

the value to compare against

Attributes

Source
Float.scala
def <(x: Double): Boolean

Returns true if this value is less than x, false otherwise.

Returns true if this value is less than x, false otherwise.

Value parameters

x

the value to compare against

Attributes

Source
Float.scala
def <=(x: Byte): Boolean
Implicitly added by float2double

Returns true if this value is less than or equal to x, false otherwise.

Returns true if this value is less than or equal to x, false otherwise.

Attributes

Source
Double.scala
def <=(x: Short): Boolean
Implicitly added by float2double

Returns true if this value is less than or equal to x, false otherwise.

Returns true if this value is less than or equal to x, false otherwise.

Attributes

Source
Double.scala
def <=(x: Char): Boolean
Implicitly added by float2double

Returns true if this value is less than or equal to x, false otherwise.

Returns true if this value is less than or equal to x, false otherwise.

Attributes

Source
Double.scala
def <=(x: Int): Boolean
Implicitly added by float2double

Returns true if this value is less than or equal to x, false otherwise.

Returns true if this value is less than or equal to x, false otherwise.

Attributes

Source
Double.scala
def <=(x: Long): Boolean
Implicitly added by float2double

Returns true if this value is less than or equal to x, false otherwise.

Returns true if this value is less than or equal to x, false otherwise.

Attributes

Source
Double.scala
def <=(x: Float): Boolean
Implicitly added by float2double

Returns true if this value is less than or equal to x, false otherwise.

Returns true if this value is less than or equal to x, false otherwise.

Attributes

Source
Double.scala
def <=(x: Double): Boolean
Implicitly added by float2double

Returns true if this value is less than or equal to x, false otherwise.

Returns true if this value is less than or equal to x, false otherwise.

Attributes

Source
Double.scala
def <=(x: Byte): Boolean

Returns true if this value is less than or equal to x, false otherwise.

Returns true if this value is less than or equal to x, false otherwise.

Attributes

Source
Float.scala
def <=(x: Short): Boolean

Returns true if this value is less than or equal to x, false otherwise.

Returns true if this value is less than or equal to x, false otherwise.

Attributes

Source
Float.scala
def <=(x: Char): Boolean

Returns true if this value is less than or equal to x, false otherwise.

Returns true if this value is less than or equal to x, false otherwise.

Attributes

Source
Float.scala
def <=(x: Int): Boolean

Returns true if this value is less than or equal to x, false otherwise.

Returns true if this value is less than or equal to x, false otherwise.

Attributes

Source
Float.scala
def <=(x: Long): Boolean

Returns true if this value is less than or equal to x, false otherwise.

Returns true if this value is less than or equal to x, false otherwise.

Attributes

Source
Float.scala
def <=(x: Float): Boolean

Returns true if this value is less than or equal to x, false otherwise.

Returns true if this value is less than or equal to x, false otherwise.

Attributes

Source
Float.scala
def <=(x: Double): Boolean

Returns true if this value is less than or equal to x, false otherwise.

Returns true if this value is less than or equal to x, false otherwise.

Attributes

Source
Float.scala
def ==(x: Byte): Boolean
Implicitly added by float2double

Returns true if this value is equal to x, false otherwise.

Returns true if this value is equal to x, false otherwise.

Attributes

Source
Double.scala
def ==(x: Short): Boolean
Implicitly added by float2double

Returns true if this value is equal to x, false otherwise.

Returns true if this value is equal to x, false otherwise.

Attributes

Source
Double.scala
def ==(x: Char): Boolean
Implicitly added by float2double

Returns true if this value is equal to x, false otherwise.

Returns true if this value is equal to x, false otherwise.

Attributes

Source
Double.scala
def ==(x: Int): Boolean
Implicitly added by float2double

Returns true if this value is equal to x, false otherwise.

Returns true if this value is equal to x, false otherwise.

Attributes

Source
Double.scala
def ==(x: Long): Boolean
Implicitly added by float2double

Returns true if this value is equal to x, false otherwise.

Returns true if this value is equal to x, false otherwise.

Attributes

Source
Double.scala
def ==(x: Float): Boolean
Implicitly added by float2double

Returns true if this value is equal to x, false otherwise.

Returns true if this value is equal to x, false otherwise.

Attributes

Source
Double.scala
def ==(x: Double): Boolean
Implicitly added by float2double

Returns true if this value is equal to x, false otherwise.

Returns true if this value is equal to x, false otherwise.

Attributes

Source
Double.scala
def ==(x: Byte): Boolean

Returns true if this value is equal to x, false otherwise.

Returns true if this value is equal to x, false otherwise.

Attributes

Source
Float.scala
def ==(x: Short): Boolean

Returns true if this value is equal to x, false otherwise.

Returns true if this value is equal to x, false otherwise.

Attributes

Source
Float.scala
def ==(x: Char): Boolean

Returns true if this value is equal to x, false otherwise.

Returns true if this value is equal to x, false otherwise.

Attributes

Source
Float.scala
def ==(x: Int): Boolean

Returns true if this value is equal to x, false otherwise.

Returns true if this value is equal to x, false otherwise.

Attributes

Source
Float.scala
def ==(x: Long): Boolean

Returns true if this value is equal to x, false otherwise.

Returns true if this value is equal to x, false otherwise.

Attributes

Source
Float.scala
def ==(x: Float): Boolean

Returns true if this value is equal to x, false otherwise.

Returns true if this value is equal to x, false otherwise.

Attributes

Source
Float.scala
def ==(x: Double): Boolean

Returns true if this value is equal to x, false otherwise.

Returns true if this value is equal to x, false otherwise.

Attributes

Source
Float.scala
def >(x: Byte): Boolean
Implicitly added by float2double

Returns true if this value is greater than x, false otherwise.

Returns true if this value is greater than x, false otherwise.

Value parameters

x

the value to compare against this one

Attributes

Source
Double.scala
def >(x: Short): Boolean
Implicitly added by float2double

Returns true if this value is greater than x, false otherwise.

Returns true if this value is greater than x, false otherwise.

Value parameters

x

the value to compare against this one

Attributes

Source
Double.scala
def >(x: Char): Boolean
Implicitly added by float2double

Returns true if this value is greater than x, false otherwise.

Returns true if this value is greater than x, false otherwise.

Value parameters

x

the value to compare against this one

Attributes

Source
Double.scala
def >(x: Int): Boolean
Implicitly added by float2double

Returns true if this value is greater than x, false otherwise.

Returns true if this value is greater than x, false otherwise.

Value parameters

x

the value to compare against this one

Attributes

Source
Double.scala
def >(x: Long): Boolean
Implicitly added by float2double

Returns true if this value is greater than x, false otherwise.

Returns true if this value is greater than x, false otherwise.

Value parameters

x

the value to compare against this one

Attributes

Source
Double.scala
def >(x: Float): Boolean
Implicitly added by float2double

Returns true if this value is greater than x, false otherwise.

Returns true if this value is greater than x, false otherwise.

Value parameters

x

the value to compare against this one

Attributes

Source
Double.scala
def >(x: Double): Boolean
Implicitly added by float2double

Returns true if this value is greater than x, false otherwise.

Returns true if this value is greater than x, false otherwise.

Value parameters

x

the value to compare against this one

Attributes

Source
Double.scala
def >(x: Byte): Boolean

Returns true if this value is greater than x, false otherwise.

Returns true if this value is greater than x, false otherwise.

Value parameters

x

the value to compare against

Attributes

Source
Float.scala
def >(x: Short): Boolean

Returns true if this value is greater than x, false otherwise.

Returns true if this value is greater than x, false otherwise.

Value parameters

x

the value to compare against

Attributes

Source
Float.scala
def >(x: Char): Boolean

Returns true if this value is greater than x, false otherwise.

Returns true if this value is greater than x, false otherwise.

Value parameters

x

the value to compare against

Attributes

Source
Float.scala
def >(x: Int): Boolean

Returns true if this value is greater than x, false otherwise.

Returns true if this value is greater than x, false otherwise.

Value parameters

x

the value to compare against

Attributes

Source
Float.scala
def >(x: Long): Boolean

Returns true if this value is greater than x, false otherwise.

Returns true if this value is greater than x, false otherwise.

Value parameters

x

the value to compare against

Attributes

Source
Float.scala
def >(x: Float): Boolean

Returns true if this value is greater than x, false otherwise.

Returns true if this value is greater than x, false otherwise.

Value parameters

x

the value to compare against

Attributes

Source
Float.scala
def >(x: Double): Boolean

Returns true if this value is greater than x, false otherwise.

Returns true if this value is greater than x, false otherwise.

Value parameters

x

the value to compare against

Attributes

Source
Float.scala
def >=(x: Byte): Boolean
Implicitly added by float2double

Returns true if this value is greater than or equal to x, false otherwise.

Returns true if this value is greater than or equal to x, false otherwise.

Attributes

Source
Double.scala
def >=(x: Short): Boolean
Implicitly added by float2double

Returns true if this value is greater than or equal to x, false otherwise.

Returns true if this value is greater than or equal to x, false otherwise.

Attributes

Source
Double.scala
def >=(x: Char): Boolean
Implicitly added by float2double

Returns true if this value is greater than or equal to x, false otherwise.

Returns true if this value is greater than or equal to x, false otherwise.

Attributes

Source
Double.scala
def >=(x: Int): Boolean
Implicitly added by float2double

Returns true if this value is greater than or equal to x, false otherwise.

Returns true if this value is greater than or equal to x, false otherwise.

Attributes

Source
Double.scala
def >=(x: Long): Boolean
Implicitly added by float2double

Returns true if this value is greater than or equal to x, false otherwise.

Returns true if this value is greater than or equal to x, false otherwise.

Attributes

Source
Double.scala
def >=(x: Float): Boolean
Implicitly added by float2double

Returns true if this value is greater than or equal to x, false otherwise.

Returns true if this value is greater than or equal to x, false otherwise.

Attributes

Source
Double.scala
def >=(x: Double): Boolean
Implicitly added by float2double

Returns true if this value is greater than or equal to x, false otherwise.

Returns true if this value is greater than or equal to x, false otherwise.

Attributes

Source
Double.scala
def >=(x: Byte): Boolean

Returns true if this value is greater than or equal to x, false otherwise.

Returns true if this value is greater than or equal to x, false otherwise.

Attributes

Source
Float.scala
def >=(x: Short): Boolean

Returns true if this value is greater than or equal to x, false otherwise.

Returns true if this value is greater than or equal to x, false otherwise.

Attributes

Source
Float.scala
def >=(x: Char): Boolean

Returns true if this value is greater than or equal to x, false otherwise.

Returns true if this value is greater than or equal to x, false otherwise.

Attributes

Source
Float.scala
def >=(x: Int): Boolean

Returns true if this value is greater than or equal to x, false otherwise.

Returns true if this value is greater than or equal to x, false otherwise.

Attributes

Source
Float.scala
def >=(x: Long): Boolean

Returns true if this value is greater than or equal to x, false otherwise.

Returns true if this value is greater than or equal to x, false otherwise.

Attributes

Source
Float.scala
def >=(x: Float): Boolean

Returns true if this value is greater than or equal to x, false otherwise.

Returns true if this value is greater than or equal to x, false otherwise.

Attributes

Source
Float.scala
def >=(x: Double): Boolean

Returns true if this value is greater than or equal to x, false otherwise.

Returns true if this value is greater than or equal to x, false otherwise.

Attributes

Source
Float.scala
def toByte: Byte
Implicitly added by float2double

Attributes

Source
Double.scala
def toByte: Byte

Attributes

Source
Float.scala
def toChar: Char
Implicitly added by float2double

Attributes

Source
Double.scala
def toChar: Char

Attributes

Source
Float.scala
Implicitly added by float2double

Attributes

Source
Double.scala

Attributes

Source
Float.scala
def toFloat: Float
Implicitly added by float2double

Attributes

Source
Double.scala
def toFloat: Float

Attributes

Source
Float.scala
def toInt: Int
Implicitly added by float2double

Attributes

Source
Double.scala
def toInt: Int

Attributes

Source
Float.scala
def toLong: Long
Implicitly added by float2double

Attributes

Source
Double.scala
def toLong: Long

Attributes

Source
Float.scala
def toShort: Short
Implicitly added by float2double

Attributes

Source
Double.scala
def toShort: Short

Attributes

Source
Float.scala
Implicitly added by float2double

Returns this value, unmodified.

Returns this value, unmodified.

Attributes

Source
Double.scala
def unary_+: Float

Returns this value, unmodified.

Returns this value, unmodified.

Attributes

Source
Float.scala
Implicitly added by float2double

Returns the negation of this value.

Returns the negation of this value.

Attributes

Source
Double.scala
def unary_-: Float

Returns the negation of this value.

Returns the negation of this value.

Attributes

Source
Float.scala

Concrete methods

def abs: Float
Extension method from Float

Returns the absolute value of this.

Returns the absolute value of this.

Attributes

Source
Float.scala
def ceil: Float
Extension method from Float

Returns the smallest integer greater or equal to this.

Returns the smallest integer greater or equal to this.

Attributes

Source
Float.scala
def compare(that: Float): Int
Extension method from Float

Compares this to that according to the standard total ordering.

Compares this to that according to the standard total ordering.

Returns:

  • a positive value if this > that
  • a negative value if this &lt; that
  • 0 if this == that

Special cases for this method:

  • 0.0 is considered greater than -0.0
  • NaN is considered greater than all other values, but equal to itself

Attributes

Source
Float.scala
def floor: Float
Extension method from Float

Returns the largest integer smaller or equal to this.

Returns the largest integer smaller or equal to this.

Attributes

Source
Float.scala
Extension method from Float

Returns true iff this is a finite value, i.e., not an infinity nor NaN.

Returns true iff this is a finite value, i.e., not an infinity nor NaN.

Attributes

Source
Float.scala
Extension method from Float

Returns true iff this is PositiveInfinity or NegativeInfinity.

Returns true iff this is PositiveInfinity or NegativeInfinity.

Attributes

Source
Float.scala
def isNaN: Boolean
Extension method from Float

Returns true iff this is a NaN value.

Returns true iff this is a NaN value.

Attributes

Source
Float.scala
Extension method from Float

Returns true iff this is NegativeInfinity.

Returns true iff this is NegativeInfinity.

Attributes

Source
Float.scala
Extension method from Float

Returns true iff this is PositiveInfinity.

Returns true iff this is PositiveInfinity.

Attributes

Source
Float.scala
Extension method from Float

Returns true iff this has a zero fractional part, and is within the range of scala.Byte MinValue and MaxValue; otherwise returns false.

Returns true iff this has a zero fractional part, and is within the range of scala.Byte MinValue and MaxValue; otherwise returns false.

Attributes

Source
Float.scala
Extension method from Float

Returns true iff this has a zero fractional part, and is within the range of scala.Char MinValue and MaxValue; otherwise returns false.

Returns true iff this has a zero fractional part, and is within the range of scala.Char MinValue and MaxValue; otherwise returns false.

Attributes

Source
Float.scala
Extension method from Float

Returns true iff this has a zero fractional part, and is within the range of scala.Int MinValue and MaxValue; otherwise returns false.

Returns true iff this has a zero fractional part, and is within the range of scala.Int MinValue and MaxValue; otherwise returns false.

Attributes

Source
Float.scala
Extension method from Float

Returns true iff this has a zero fractional part, and is within the range of scala.Short MinValue and MaxValue; otherwise returns false.

Returns true iff this has a zero fractional part, and is within the range of scala.Short MinValue and MaxValue; otherwise returns false.

Attributes

Source
Float.scala
Extension method from Float

Returns '''true''' if this number is finite and has no decimal component.

Returns '''true''' if this number is finite and has no decimal component.

Attributes

Source
Float.scala
def max(that: Float): Float
Extension method from Float

Returns this if this > that or that otherwise.

Returns this if this > that or that otherwise.

Attributes

Source
Float.scala
def min(that: Float): Float
Extension method from Float

Returns this if this &lt; that or that otherwise.

Returns this if this &lt; that or that otherwise.

Attributes

Source
Float.scala
def round: Int
Extension method from Float

Returns the closest Int to this.

Returns the closest Int to this.

Attributes

Source
Float.scala
def sign: Float
Extension method from Float

Returns the sign of this.

Returns the sign of this.

  • 1.0f if this > 0.0f;
  • -1.0f if this &lt; 0.0f;
  • this otherwise (for zeros and NaN).

Attributes

Source
Float.scala
Extension method from Float

Converts an angle measured in radians to an approximately equivalent angle measured in degrees.

Converts an angle measured in radians to an approximately equivalent angle measured in degrees.

Attributes

Returns

the measurement of the angle x in degrees.

Source
Float.scala
Extension method from Float

Converts an angle measured in degrees to an approximately equivalent angle measured in radians.

Converts an angle measured in degrees to an approximately equivalent angle measured in radians.

Attributes

Returns

the measurement of the angle x in radians.

Source
Float.scala

Deprecated methods

def +(x: String): String
Implicitly added by float2double

Attributes

Deprecated
[Since version 2.13.0] Adding a number and a String is deprecated. Use the string interpolation `s\"$num$str\"`
Source
Double.scala
def +(x: String): String

Attributes

Deprecated
[Since version 2.13.0] Adding a number and a String is deprecated. Use the string interpolation `s\"$num$str\"`
Source
Float.scala
def signum: Int
Extension method from Float

Returns the signum of this.

Returns the signum of this.

Attributes

Deprecated
[Since version 2.13.0] signum does not handle -0.0f or Float.NaN; use `sign` method instead
Source
Float.scala