Purpose
Convert to double precision real type.
Argument type and attributes
- A
- An INTENT(IN) INTEGER, REAL, COMPLEX,
or boz-literal CONSTANT
Result type and attributes
Double precision
real.
Result value
- If A is of type double precision real,
DBLE(A) = A.
- If A is of type integer or real, the result has as much precision
of the significant part of A as a double precision real datum
can contain.
- If A is of type complex, the result has as much precision of the
significant part of the real part of A as a double precision real datum
can contain.
Examples
DBLE (-3)
has the value -3.0D0.
Specific Name |
Argument Type |
Result Type |
Pass As Arg? |
DFLOAT |
any integer |
double precision real |
no |
DBLE |
default real |
double precision real |
no |
DBLEQ |
REAL(16) |
REAL(8) |
no |