02.07.2013 Views

HP Fortran Programmer's Reference

HP Fortran Programmer's Reference

HP Fortran Programmer's Reference

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Description<br />

Convert to real type.<br />

Class<br />

Elemental function.<br />

Arguments<br />

A must be of type integer, real, or complex.<br />

KIND (optional) must be a scalar integer initialization expression.<br />

Result type/<br />

type parameters<br />

Real.<br />

Intrinsic procedures<br />

Intrinsic procedure specifications<br />

Case 1 If A is of type integer or real and KIND is present, the kind type parameter is<br />

that specified by KIND.<br />

If A is of type integer or real and KIND is not present, the kind type<br />

parameter is the processor-dependent kind type parameter for the default<br />

real type.<br />

Case 2 If A is of type complex and KIND is present, the kind type parameter is that<br />

specified by KIND.<br />

Result value<br />

If A is of type complex and KIND is not present, the kind type parameter is<br />

thekindtypeparameterofA.<br />

Case 1 If A is of type integer or real, the result is equal to a processor-dependent<br />

approximation to A.<br />

Case 2 If A is of type complex, the result is equal to a processor-dependent<br />

approximation to the real part of A.<br />

Specific forms<br />

FLOAT, FLOATI, FLOATJ, FLOATK.<br />

Chapter 11 577

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!