Login Page - Create Account

Support Board


Date/Time: Tue, 04 Nov 2025 15:39:06 +0000



Post From: Possible loss of significance bug in ZigZag study

[2020-08-22 16:46:12]
maxima120 - Posts: 157
I am not C++ guru, but I think it is safer to cast to double before subtracting in CreateZigZagLineLabel function:

ZigzagLineLength = (double)ZigZagLine[ZigZagIndex] - ZigZagLine[BackRefIndex];