HP Fortran Programmer's Reference (September 2007)

Intrinsic procedures
Intrinsic procedure specifications
Chapter 11612
Description
Convert to real type.
Class
Elemental function.
Arguments
A must be of type integer, real, or complex.
KIND (optional) must be a scalar integer initialization expression.
Result type/
type parameters
Real.
Case 1 If A is of type integer or real and KIND is present, the kind type parameter is
that specified by KIND.
If A is of type integer or real and KIND is not present, the kind type
parameter is the processor-dependent kind type parameter for the default
real type.
Case 2 If A is of type complex and KIND is present, the kind type parameter is that
specified by KIND.
If A is of type complex and KIND is not present, the kind type parameter is
the kind type parameter of A.
Result value
Case 1 If A is of type integer or real, the result is equal to a processor-dependent
approximation to A.
Case 2 If A is of type complex, the result is equal to a processor-dependent
approximation to the real part of A.
Specific forms
FLOAT, FLOATI, FLOATJ, FLOATK.