Re: [fpc-devel] Numeric error in the calculation of Variance

2017-12-24 Thread Werner Pamler
Am 23.12.2017 um 13:24 schrieb Anton Shepelev: Hello, all May I ask you if there is any chance of fixing the error in the Math unit that I reported here: https://bugs.freepascal.org/view.php?id=32804 and provided a patch? Here is a test case: Program Vartest; uses Math; const Size =

Re: [fpc-devel] Numeric error in the calculation of Variance

2017-12-24 Thread Michael Van Canneyt
On Sat, 23 Dec 2017, Anton Shepelev wrote: Hello, all May I ask you if there is any chance of fixing the error in the Math unit that I reported here: https://bugs.freepascal.org/view.php?id=32804 and provided a patch? Here is a test case: I have checked and applied the patch. I

[fpc-devel] Numeric error in the calculation of Variance

2017-12-24 Thread Anton Shepelev
Hello, all May I ask you if there is any chance of fixing the error in the Math unit that I reported here: https://bugs.freepascal.org/view.php?id=32804 and provided a patch? Here is a test case: Program Vartest; uses Math; const Size = 100; var dataS: array of Single; dataD: