Commit 1a200c9
authored
Fix float arithmetic in BLF reader (#1927)
* Fix float arithmetic in BLF reader
Using the Python decimal module for fast correctly rounded decimal floating-point arithmetic when applying the timestamp factor.
* Remove the allowed_timestamp_delta from the BLF UT
Now that the BLF float arithmetic issue is fixed we no longer need to tweek the `allowed_timestamp_delta` in the BLF unit tests1 parent 613c653 commit 1a200c9
2 files changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| |||
264 | 265 | | |
265 | 266 | | |
266 | 267 | | |
267 | | - | |
268 | | - | |
| 268 | + | |
| 269 | + | |
269 | 270 | | |
270 | 271 | | |
271 | 272 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
694 | 694 | | |
695 | 695 | | |
696 | 696 | | |
697 | | - | |
698 | 697 | | |
699 | 698 | | |
700 | 699 | | |
| |||
0 commit comments