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.

Intrinsic procedures<br />

Intrinsic procedure specifications<br />

ANINT(A, KIND)<br />

Optional argument<br />

KIND<br />

Description<br />

Nearest whole number.<br />

Class<br />

Elemental function.<br />

Arguments<br />

A must be of type real.<br />

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

Result type/<br />

type parameters<br />

Theresultisoftypereal.IfKIND is present, the kind type parameter is that specified by KIND;<br />

otherwise, the kind type parameter is that of A.<br />

Result value<br />

If A>0, ANINT(A) has the value AINT(A+0.5); ifA

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

Saved successfully!

Ooh no, something went wrong!