The Hyper Programming Language |
home | language reference | compiler | hyper on launchpad |
This is the class reference of built-in type double.
sealed class double : object
This class represents the IEEE 754 double precision floating point number (64-bit).
procedure new()
Default constructor. Creates a double with value 0.
procedure new(d : double)
Copy constructor.
implicit procedure new(b : byte)
Implicit conversion constructor.
implicit procedure new(i : int16)
Implicit conversion constructor.
implicit procedure new(n : nat16)
Implicit conversion constructor.
implicit procedure new(i : int32)
Implicit conversion constructor.
implicit procedure new(s : single)
Implicit conversion constructor.
none yet
Warning: this is preliminary syntax with the purpose of documenting the operators of this class. Nothing official yet!
const operator+() : double
Unary plus.
const operator-() : double
Unary minus.
const operator++() : double
Successor.
const operator--() : double
Predecessor.
not yet documented
operator++()
Increment operator.
operator--()
Decrement operator.
operator=(d : double)
Simple assignment operator.
operator+=(d : double)
Add-assign operator.
operator-=(d : double)
Subtract-assign operator.
operator*=(d : double)
Multiply-assign operator.
operator/=(d : double)
Divide-assign operator.