baron icon indicating copy to clipboard operation
baron copied to clipboard

Incorrect parsing of floats

Open boxed opened this issue 9 years ago • 0 comments

Trying to run baron over numpy exposes some issues. This is the latest I've found:

numpy/core/tests/test_umath.py

p = 9.999999999333333333e-6j + 1.000000000066666666e-5

This code ends up as "1.000000000066666666e" and "-" and 5 in the AST. My code blows up on this :P

boxed avatar Nov 28 '16 14:11 boxed