On Monday, 5 September 2022 at 10:30:32 UTC, Ali Çehreli wrote:
On 9/5/22 01:58, anonymouse wrote:> array [1.7, 3.7, 5.7, 7.7, 9.7] in both cases, which is what is being > asserted by those two lines.None of those values can be represented precisely in a floating point type. Without looking at the code, I wonder whether the tests will pass if you can manage to use the following values instead, which can be represented precisely:[1.5, 3.5, 5.5, 7.5, 9.5] Ali
It will not. --anonymouse