All aspects of development in Analysis (which does not fit in another project)

FS#181 - otRecNumberLiteral.AsFloat evaluates as missing or infinite

Attached to Project: Analysis
Opened by Jamie Hockin (jhockin) - Tuesday, 15 May 2018, 16:34 GMT
Task Type Bug Report
Category Parser
Status Assigned
Assigned To Torsten Bonde Christiansen (torstenchr)
Operating System All
Severity Medium
Priority Normal
Reported Version 2.0
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No


In V1.0.0 or any trunk/branch build I make, I get this


new v x f := _n * 2.0
-->all values of x are extremely large number and display as .

in ast.pas

function TBinaryExpr.AsFloat

otRecNumberLiteral.AsFloat evaluates as missing

I do not understand the code well enough to see why, but otRecNumberLiteral.AsInteger evaluates properly
This task depends upon

2018-05-17: A task closure has been requested. Reason for request: This has been fixed