Oracle® Solaris Studio 12.4: Fortran User's Guide

Exit Print View

Updated: March 2015
 
 

4.5.5 Intrinsic Functions

  • Unsigned integers are allowed in intrinsic functions, except for SIGN and ABS.

  • A new intrinsic function, UNSIGNED, is analogous to INT but produces a result of unsigned type. The form is

    UNSIGNED(v [,kind] ).

  • Another new intrinsic function, SELECTED_UNSIGNED_KIND( var), returns the kind parameter for var.

  • Intrinsic functions do not allow both signed and unsigned integer operands, except for the MAX and MIN functions, which allow both signed and unsigned integer operands only if there is at least one operand of REAL type.

  • Unsigned arrays cannot appear as arguments to array intrinsic functions.