libperun

Class std.rt.Float

Synopsis

public final class Float extends Comparable< Float >

Implicit managed wrapper for the floating-point types (float and double).

Fields

Constructors

public Float();

Construct the floating-point number with a value of zero.

public Float(double value);

Construct the floating-point number with the specified value.

Methods

public double get();

Get the floating-point value.

public Float opAdd(Float b);

Add two floating-point numbers.

public Float opSub(Float b);

Subtract two floating-point numbers.

public Float opMul(Float b);

Multiply two floating-point numbers.

public Float opDiv(Float b);

Divide two floating-point numbers.

public Float opNegate();

Return the negation of this floating-point number.

public bool opEquals(Object b);

Compare two floating-point numbers.

public int opCompare(Float b);

No description given

public dword_t hash();

No description given