|
|||||
Previous Next |
The Double type is the Real type with a 64 bits precision. Literals has the same structure as Real ones.
Operation Summary | |
Double
|
+ This real. |
Double
|
+(Double rhs)
The value of the addition of this real and rhs. |
Double
|
/(Double rhs)
The value of this real divided by rhs. |
Boolean
|
=(Double rhs)
True if this real is equal to rhs. |
Boolean
|
>=(Double rhs)
True if this real is greater than or equal to rhs. |
Boolean
|
>(Double rhs)
True if this real is greater than rhs. |
Boolean
|
<=(Double rhs)
True if this real is less than or equal to rhs. |
Boolean
|
<(Double rhs)
True if this real is less than rhs. |
Double
|
*(Double rhs)
The value of the multiplication of this real and rhs. |
Boolean
|
<>(Double rhs)
True if this real is not equal to rhs. |
Double
|
- The opposite of this real. |
Double
|
-(Double rhs)
The value of the substraction of rhs from this real. |
Double
|
abs The absolute value of this real. |
Integer
|
floor The largest integer which is less than or equal to this real. |
Double
|
max(Double rhs)
The maximum of this real and rhs. |
Double
|
min(Double rhs)
The minimum of this real and rhs. |
Integer
|
round The integer which is closest to this real. |
String
|
toString A representative character string of this real. |
Operations inherited from type Real |
+, /, =,
>=, >,
<=, <,
*, <>,
-, max, min,
random
|
Operations inherited from type OclAny |
=, <>,
oclAsType, oclIsKindOf,
oclIsTypeOf
|
Operations Detail |
public Integer floor
floor
in type Real
public Integer round
round
in type Real
public Boolean =(Double rhs)
public Boolean <>(Double rhs)
public Double +
+
in type Real
public Double -
-
in type Real
public Double +(Double rhs)
public Double -(Double rhs)
public Double *(Double rhs)
public Double /(Double rhs)
public Double abs
abs
in type Real
public Double max(Double rhs)
public Double min(Double rhs)
public Boolean <(Double rhs)
public Boolean >(Double rhs)
public Boolean <=(Double rhs)
public Boolean >=(Double rhs)
public String toString
toString
in type Real
|
|||||
Previous Next |