<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def parse_float_literal(ast, _variables=None):
 """Parse a float value node in the AST."""

    if isinstance(ast, (FloatValueNode, IntValueNode)):
        return float(ast.value)
    return INVALID