Intel® Fortran Compiler Classic and Intel® Fortran Compiler Developer Guide and Reference
A newer version of this document is available. Customers should click here to go to the newest version.
Visible to Intel only — GUID: GUID-112C9CAB-4D1C-4A11-9D9B-BF9EF616B11A
Visible to Intel only — GUID: GUID-112C9CAB-4D1C-4A11-9D9B-BF9EF616B11A
Hexadecimal Constants
A hexadecimal constant is an alternative way to represent numeric constants. A hexadecimal constant takes one of the following forms:
Z'd[d...]'
Z"d[d...]"
d |
Is a hexadecimal (base 16) digit (0 through 9, or an uppercase or lowercase letter in the range of A to F). |
You can specify up to 128 bits (32 hexadecimal digits) in hexadecimal constants.
Examples
Z'AF9730' |
Z"FFABC" |
Z'84' |
Z'999.' |
Decimal not allowed. |
ZF9" |
No quotation mark after the Z. |