PLCgen self-certification test set: the results of the division are not compared correctly
In op_bind_and_prio_num2
and op_bind_and_prio_num3
we test division. The results of these tests are compared by _results_compare_s7.tooldef
. However the results aren't compared correctly - see example below and in the file.
a_add_divide01 -> NOT OK: expecteds_ok=["12.416666666666668", "12.41667"], expecteds_nok=[], actual=12.4166666666667
a_add_divide02 -> NOT OK: expecteds_ok=["-2.916666666666667", "-2.916667"], expecteds_nok=[], actual=-2.91666666666667
Addresses #1019 (closed), #679, #798 (closed)
Edited by Dennis Hendriks