Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Package views "NaN" as an invalid number #86

Open
raisfeld-ori opened this issue Dec 28, 2024 · 0 comments
Open

Package views "NaN" as an invalid number #86

raisfeld-ori opened this issue Dec 28, 2024 · 0 comments

Comments

@raisfeld-ori
Copy link
Contributor

I recently tried parsing a dxf file with a NaN inside of it, and realized that running Drawing::load(&mut Cursor::new(content)); results in the error: Err("invalid float literal at line/offset 74"). looking at the dxf file, line 74 is
NaN.0

Which means it failed in parsing it since it viewed NaN as an invalid float

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

No branches or pull requests

1 participant