Autor Thema: FILTER_MAV bug  (Gelesen 4233 mal)

0 Mitglieder und 1 Gast betrachten dieses Thema.

Offline PhilipInc

  • Newbie
  • *
  • Beiträge: 4
    • Profil anzeigen
FILTER_MAV bug
« am: 24. September 2018, 20:20:17 »
Hello,

FILTER_MAV function works wrong if the values goes down.

ELSE
   tmp := UINT_TO_INT(N);
   i := INC1(i, tmp);
   Y := Y + (X - buffer) / N;
   buffer := X;
END_IF;

when buffer is bigger than X their difference going bellow 0 and become very large.

Yamonaru

  • Gast
Re: FILTER_MAV bug
« Antwort #1 am: 25. September 2018, 12:37:20 »
We are happy to provide these useful information to everyone.

Offline hanoisss

  • Newbie
  • *
  • Beiträge: 2
    • Profil anzeigen
    • ศิลปะการต่อสู้
Re: FILTER_MAV bug
« Antwort #2 am: 01. Oktober 2018, 12:11:40 »
This review is the best.