struct Float32

Defined in:

ext/number.cr

Instance Method Summary

Instance Method Detail

def !=(other : Float16) : Bool #

Returns true if self is not equal to other.


[View source]
def *(other : Float16) : self #

Returns the result of multiplying self and other.


[View source]
def +(other : Float16) : self #

Returns the result of adding self and other.


[View source]
def -(other : Float16) : self #

Returns the result of subtracting self and other.


[View source]
def /(other : Float16) : Float32 #

def <(other : Float16) : Bool #

Returns true if self is less than other.


[View source]
def <=(other : Float16) : Bool #

Returns true if self is less than or equal to other.


[View source]
def ==(other : Float16) : Bool #

Returns true if self is equal to other.


[View source]
def >(other : Float16) : Bool #

Returns true if self is greater than other.


[View source]
def >=(other : Float16) : Bool #

Returns true if self is greater than or equal to other.


[View source]
def fdiv(other : Float16) : self #

Returns the float division of self and other.


[View source]
def to_f16 : Float16 #

[View source]
def to_f16! : Float16 #

[View source]