Intel® Fortran Compiler Classic and Intel® Fortran Compiler Developer Guide and Reference

ID 767251
Date 6/24/2024
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

COMPLINT, COMPLREAL, COMPLLOG

Portability Functions: Return a BIT-WISE complement or logical .NOT. of the argument.

Module

USE IFPORT

result = COMPLINT (intval)

result = COMPREAL (realval)

result = COMPLLOG (logval)

intval

(Input) INTEGER(4).

realval

(Input) REAL(4).

logval

(Input) LOGICAL(4).

Results

The result is INTEGER(4) for COMPLINT, REAL(4) for COMPLREAL and LOGICAL(4) for COMPLLOG with a value that is the bitwise complement of the argument.