5.4.7. Float Constant

[Tip]Description

A Float constant is a numeric value with a floating point expression.

[Important]Syntax
FloatConstantAST ::= DoubleLiteral | FloatingPointLiteral 

A float constant can be represented in an arbitrary combination of the floating point representation and the scientific representation.

Example 2.10. Floating point constants

Floating point representation: 1.5 4, 1 3 2.4 5 6 

Scientific representation: 1E-6, 3.5 6e2 

Combination: 4 3 2e-8, 1 3 3.5 6 7E6 


Defined In:  ASM constant