Open eclipseo opened 5 years ago
Getting the similar issue on s390x for jpmorganchase/quorum with Go.
I have observed this too, on aarch64. I believe this is an example of a precision error:
I took the liberty of cherry-picking @lrita 's fixes to the precisions checks from bb326cd into https://salsa.debian.org/go-team/packages/golang-github-rcrowley-go-metrics/-/blob/master/debian/patches/precision.patch and uploaded it to debian/unstable to fix http://bugs.debian.org/976543 to prevent other unrelated package from falling out of the next Debian release
@lrita I stripped out your optimiziations because I'm not entirely compfortable / familiar enough with the code base to assess their implications fully. Maybe your might would be easier to review if it the precision fixes were kept in a separate PR from the assembler optimizations?
Nice I was ready to implement this to patch the debian bug and removal. I'll go for it with the other problematic package (github.com/montanaflynn/stats)
I filed a similar bug last year in https://github.com/VividCortex/ewma/issues/14 Probably the same rounding issue.