Skip to content

Std.parseFloat macro failure #2558

Closed
Closed
@hexonaut

Description

Stumbled across this while making changes to Serializer in #2556

Seems macro doesn't parse the "+" correctly after the exponent symbol.

//Prints "-1.#IND" for macro and "10" for neko
trace(Std.parseFloat("1e+1"));

This is a problem because Std.string() for macro generates a "+" for large numbers.

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions