02.07.2013 Views

HP Fortran Programmer's Reference

HP Fortran Programmer's Reference

HP Fortran Programmer's Reference

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Result value<br />

Intrinsic procedures<br />

Intrinsic procedure specifications<br />

Theresulthasthevalueq if X is of type integer and p if X is of type real, where q and p are as<br />

defined in “Data representation models” on page 473 for the model representing numbers of<br />

thesametypeandkindtypeparameterasX.<br />

DIM(X, Y)<br />

Description<br />

The difference X–Y if it is positive; otherwise zero.<br />

Class<br />

Elemental function.<br />

Arguments<br />

X must be of type integer or real.<br />

Y must be of the same type and kind type parameter as X.<br />

Result type/<br />

type parameters<br />

Same as X.<br />

Result value<br />

ThevalueoftheresultisX–Y if X > Y and zero otherwise.<br />

Specific forms<br />

BDIM, DDIM, HDIM, QDIM.<br />

DNUM(I)<br />

Description<br />

Convert to double precision.<br />

Class<br />

Elemental nonstandard function.<br />

Chapter 11 509

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

Saved successfully!

Ooh no, something went wrong!