Silverfrost Logo About Us | Contact Us
 

Intrinsic functions

The following intrinsic functions are compiled as in-line code:

  • Type conversion functions such as INT, REAL, DBLE, CMPLX, CHAR, ICHAR, CONJG and DIMAG.

  • AND, OR, XOR, NOT, LS, RS, LR, RR, SHFT, LOC, CCORE1, CORE1, CORE2, CORE4, FCORE4 and DCORE8.
    Note: these functions are FTN95 extensions to standard Fortran 95.

  • The MAX and MIN functions.

  • ABS and its non-generic variants, except CABS and CDABS.

  • LEN and LENG.

  • LGE, LGT, LLE and LLT.

  • The long to short conversion functions INTB, INTS, INTL, LGCB, LGCS and LGCL.

  • INDEX, if the second argument is of length 1, for example:

K=INDEX(MESSAGE,' ')

 

 

Copyright © 1999-2017 Silverfrost Limited