path: root/libdevkit-power/egg-obj-list.c
diff options
authorBenjamin Berg <>2022-01-24 14:27:29 +0100
committerBenjamin Berg <>2022-01-25 10:36:20 +0000
commit50bdbe7e65bed037ba0284553cd926276723c0de (patch)
tree1afb8a9ff520d39940df5e931d5d2a715813d242 /libdevkit-power/egg-obj-list.c
parent07ad5a9b4ce595396e7f24c98c54b2c98c40fd5a (diff)
history: Fix time compression of data pointsHEADmasterbenzea/fix-history-compression
The algorithm tries to use floating point timestamps. However, the precision of floating point is too low for unix time, causing rounding issues. This can cause extra points to be inserted (or too few) under some conditions, creating a scenario where the test-suite fails randomly. Do this properly by using 64bit integers for the time. The 64bit integer should have enough head-room even for very long histories. Closes: #167
Diffstat (limited to 'libdevkit-power/egg-obj-list.c')
0 files changed, 0 insertions, 0 deletions