Login Page - Create Account

Support Board


Date/Time: Wed, 04 Feb 2026 12:36:22 +0000



Post From: Possible loss of significance bug in ZigZag study

[2020-08-22 16:46:12]
maxima120 - Posts: 160
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];