Message399991
> @Pedro Thanks again for the report! Just out of curiosity, how did you manage to find this?
I'm writing a C strtod implementation and I was adding corner cases to the unit testing (now published here: https://codeberg.org/pgimeno/ACSL/src/branch/master/tests/test-strtod.c). Sometimes I get confused by whether to add one or subtract one to the exponent as digits are moved, and since I have an interactive Python shell always open as a calculator, I used it to make sure that the test I was writing had the correct exponent. But the result I got was not the one I expected, and upon verification, I soon became convinced that it was a bug, so I dug a bit more (at first I didn't notice it only happened if the leading zero was left out) and finally submitted the bug.
Thanks for the quick fix, by the way. |
|
Date |
User |
Action |
Args |
2021-08-20 20:01:50 | pgimeno | set | recipients:
+ pgimeno, mark.dickinson, miss-islington |
2021-08-20 20:01:50 | pgimeno | set | messageid: <1629489710.78.0.495316853355.issue44954@roundup.psfhosted.org> |
2021-08-20 20:01:50 | pgimeno | link | issue44954 messages |
2021-08-20 20:01:50 | pgimeno | create | |
|