Open lz1nwm opened 9 years ago
Not sure I'd call it a bug. It's a limitation of the current implementation of runSum
, which does not do any adjustments for rounding error due to floating-point arithmetic (i.e. Kahan summation).
This has already been implemented in some unexported C code in xts, and I'd prefer to use that instead of rewriting the functionality in TTR.
Please see the example below. Is it a bug or something intentional?