The Queen's University of Belfast

Parallel Computer Centre
[Next] [Previous] [Top]
Intrinsic
Procedures
Intrinsic procedures
Topics
Intrinsic procedures
Four categories
- Elemental procedures
A set of functions and one sub-routine, specified for scalar arguments, but appli-cable for conforming array arguments,
- Inquiry functions
Return properties of principal arguments that do not depend on their values
- Transformational functions
usually have array arguments and an array result whose elements depend on many of the elements of the arguments
- Nonelemental subroutines
New intrinsic procedures
Elemental functions:
- Numeric
- CEILING (A)
- FLOOR (A)
- MODULO (A, P)
- Character
- ACHAR (I)
- ADJUSTL (STRING)
- ADJUSTR (STRING)
- IACHAR (C)
- INDEX (STRING, SUBSTRING [, BACK])
- LEN_TRIM (STRING)
- SCAN (STRING, SET [, BACK])
- VERIFY (STRING, SET [, BACK])
- Bit manipulation
- BTEST (I, POS)
- IAND (I, J)
- IBCLR (I, POS)
- IBITS (I, POS, LEN)
- IBSET (I, POS)
- IEOR (I, J)
- IOR (I, J)
- ISHFT (I, SHIFT)
- ISHFTC (I, SHIFT [, SIZE])
- NOT (I)
- Kind
- SELECTED_INT_KIND (R)
- SELECTED_REAL_KIND (P,R)
- Floating point manipulation
- EXPONENT (X)
- FRACTION (X)
- NEAREST (X, S)
- RRSPACING (X)
- SCALE (X, I)
- SET_EXPONENT (X, I)
- SPACING (X)
- Logical:
Elemental subroutine:
- MVBITS (FROM, FROMPOS, LEN, TO, TOPOS)
Inquiry functions:
- PRESENT (A)
- ASSOCIATED (POINTER [,TARGET])
- KIND (X)
- BIT_SIZE (I)
Numeric
- DIGITS (X)
- EPSILON (X)
- HUGE (X)
- MAXEXPONENT (X)
- MINEXPONENT (X)
- PRECISION (X)
- RADIX (X)
- TINY (X)
Transformational functions:
- REPEAT (STRING, NCOPIES)
- TRIM (STRING)
- TRANSFER (SOURCE, MOLD [, SIZE])
Non elemental intrinsic subroutines:
- DATE_AND_TIME ([DATE][,TIME][,ZONE][VALUES])
- SYSTEM_CLOCK ([COUNT][,COUNT_RATE][COUNT_MAX])
- RANDOM_NUMBER (HARVEST)
- RANDOM_SEED ([SIZE] [,PUT] [,GET])
Array intrinsic procedures:
- See section on array processing
[Next] [Previous] [Top]
All documents are the responsibility of, and copyright, © their authors and do not represent the views of The Parallel Computer Centre, nor of The Queen's University of Belfast.
Maintained by Alan Rea, email A.Rea@qub.ac.uk
Generated with CERN WebMaker