The attached small app is scanning x axis to find points which near them a function changes value from positive to negative or vice versa. This is a preparation for an algorithm that find the roots (i.e where y = f(x) = 0 ). The poins are added to a list but the problem happens also with just logging the found points.
The function has 3 roots. When run in debug , without any pausing point defined, the program shows only two points. when run with a pause point, even on a comment, the list contains 3 points.
When run in release, the pause has no effect and there are only two values in the list.
B4j version 10, core version 9.8 (????).
The function has 3 roots. When run in debug , without any pausing point defined, the program shows only two points. when run with a pause point, even on a comment, the list contains 3 points.
When run in release, the pause has no effect and there are only two values in the list.
B4j version 10, core version 9.8 (????).