Float - mfichman/jogo GitHub Wiki

Double-precision, 64-bit floating point number. This class will always be a 64-bit floating point number, regardless of the platform.

@init()

No comment

@add(other Float) Float

No comment

@sub(other Float) Float

No comment

@mul(other Float) Float

No comment

@div(other Float) Float

No comment

@equal(other Float) Bool

No comment

@less(other Float) Bool

No comment

str?() String

Returns the string representation of 'self'

exp?() Float

Returns the exponential of 'self'

ln?() Float

Returns the natural logarithm of 'self'

log?() Float

Returns the base-10 logarithm of 'self'

sqrt?() Float

Returns the square root of 'self'

ceil?() Float

Returns the smallest integer not less than 'self'

floor?() Float

Returns the largest integer not greater than 'self'

abs?() Float

Returns the absolute value of 'self'

sin?() Float

Returns the sine of 'self'

cos?() Float

Returns the cosine of 'self'

tan?() Float

Returns the tangent of 'self'

arcsin?() Float

Returns the arc-sine of 'self'

arccos?() Float

Returns the arc-cosine of 'self'

arctan?(value Float) Float

Returns the arc-tangent of 'self'/'value'

sinh?() Float

Returns the hyperbolic sine of 'self'

cosh?() Float

Returns the hyperbolic cosine of 'self'

tanh?() Float

Returns the hyperbolic tangent of 'self'

@destroy()

No comment