10.07.2015 Views

PGI Fortran Reference manual - The Portland Group

PGI Fortran Reference manual - The Portland Group

PGI Fortran Reference manual - The Portland Group

SHOW MORE
SHOW LESS
  • No tags were found...

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

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

3F Functions and VAX SubroutinesSynopsisreal function random(flag)integer flaginteger function irandm(flag)integer flagdouble precision function drandm(flag)integer flagDescriptionIf the argument, flag, is nonzero, the random number generator is restarted before the nextrandom number is generated.Integer values range from 0 through 2147483647.Floating point values range from 0.0 through 1.0.9.1.52. rangeRange functions.Synopsisreal function flmin()real function flmax()real function ffrac()double precision function dflmin()double precision function dflmax()double precision function dffrac()integer function inmax()Description<strong>The</strong> following range functions return a value from a range of values.flminminimum single precision valueflmaxmaximum single precision valueffracsmallest positive single precision valuedflminminimum double precision valuedflmaxmaximum double precision valuedffracsmallest positive double precision valueinmaxmaximum integer<strong>PGI</strong> <strong>Fortran</strong> <strong>Reference</strong> Guide 205

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

Saved successfully!

Ooh no, something went wrong!