FORTRAN 77 Language Reference

Zero Extend

The following zero-extend functions are recognized by f77. The first unused high-order bit is set to zero and extended toward the higher-order end to the width indicated in the table

Table 6-15 Zero-Extend Functions

Generic Name 

Specific Names 

Function 

Argument Type 

Result Type  

ZEXT 

Zero-extend 

-

-

 IZEXT

Zero-extend 

BYTE LOGICAL*1 LOGICAL*2 INTEGER*2INTEGER*2
 JZEXT

Zero-extend 

BYTE LOGICAL*1 LOGICAL*2 LOGICAL*4 INTEGER INTEGER*2 INTEGER*4INTEGER*4