commit | 2c1f184d0233d248e67bd8186a476e071a2fa7b5 | [log] [tgz] |
---|---|---|
author | Jordan Yates <jordan.yates@data61.csiro.au> | Wed Jul 28 16:52:41 2021 +1000 |
committer | Christopher Friedt <chrisfriedt@gmail.com> | Sun Aug 08 08:18:23 2021 -0400 |
tree | 58c6e46606f91458b87f40518ab5b43142fb048a | |
parent | d2363be091a0f5983fe51fc8f95ab5398f411968 [diff] |
lib: timeutil: fix conversion drift Fix conversion drifts for large deltas by only applying float operations when the skew requires it. This helps because not all integers are representable as floats, so large integers are neccessarily quantised when performing float operations. When required, floating-point operations are now performed on doubles instead of floats. Fixes #37263. Signed-off-by: Jordan Yates <jordan.yates@data61.csiro.au>