## ALP Programming Guide and Reference

[prev][next][parent][TOC]

### Hexadecimal Floating-Point Literals

Description

Constraints

Examples

A hexadecimal floating-point literal provides a means of initializing floating point values using a notation more closely tied to the internal machine representation than that of the Decimal-Floating-Point-Literal. Such literals are coded in a fashion similar to that of a normal Hexadecimal-Integer-Literal, but a different radix suffix is used to inform the assembler that the value is to be used in the allocation of real numbers rather than integers.

Hexadecimal-Floating-Point-Literal:
Hexadecimal-Literal Float-Radix
Hexadecimal-Literal:
Decimal-Digit
Hexadecimal-Literal Decimal-Digit
Hexadecimal-Literal Hexadecimal-Digit
Decimal-Digit: one of:
0 1 2 3 4 5 6 7 8 9
Hexadecimal-Digit: one of:
a b c d e f
A B C D E F
Float-Radix:
r
R