5.2.5 Float Directive

The .float value1[, ..., valuen] directive assembles the specified comma-separated single-precision (32-bit) floating-point constants into consecutive addresses in the current section. Floating point numbers are stored in IEEE format (see 4.3.1.2 Floating-Point Numbers) as little-endian values. This directive has the same effect as .single.

The following statements are equivalent:

.float 12345.67
.float 1.234567e4
.float 1.234567e04
.float 1.234567e+04
.float 1.234567E4
.float 1.234567E04
.float 1.234567E+04

Alternatively, you can specify the hexadecimal encoding of a floating-point constant. The following statements are equivalent and encode the value 12345.67 as a 32-bit double-precision number:

.float 0e:4640E6AE
.float 0f:4640E6AE
.float 0d:4640E6AE