18 Floating-point literals
The assembler supports the same floating-point literal formats as those defined in the C and C++ standards (i.e., decimal floating-point literals with decimal exponents as well as hexadecimal floating-point literals with binary exponents).
Here are some examples:
- 3.14159
- 0.271828e1
- 0x0.3p-4
note
The detailed format of the floating point immediate value can be referenced on this page.