Skip to content

Conversation

@Geal
Copy link
Collaborator

@Geal Geal commented Nov 2, 2021

this will afford some time until we get a proper fix with minimal lexical for floats that are to large

not cleaned up yet

Fixes #1384 and #1421

@coveralls
Copy link

coveralls commented Nov 2, 2021

Coverage Status

Coverage decreased (-1.5%) to 79.556% when pulling 66a77a2 on workaround-float-issues into 02433c2 on main.

@Geal Geal force-pushed the workaround-float-issues branch from 1b96f00 to 7cc8400 Compare November 2, 2021 22:24
this will afford some time until we get a proper fix with minimal
lexical for floats that are to large
Comment on lines +2109 to +2110
let (_i, inf) = float::<_, ()>("infinite").unwrap();
assert!(inf.is_infinite());
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this test should fail cause it's only eat 'inf' and not 'infinite' https://github.com/Geal/nom/pull/1391/files# parse infinity before inf cause of this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Updating to Nom 7 has broken double("NaN")

4 participants