So, you're at home all day, because of all the COVID stuff, and in order to stay sane, you sometimes have to do things that are out of the ordinary.
Below is my attempt.
So, you're at home all day, because of all the COVID stuff, and in order to stay sane, you sometimes have to do things that are out of the ordinary.
Below is my attempt.
The problems with Doubles and Floats are already well documented, but sometimes we fall into the trap again.
In short, the representation of a real number1 in Float and Double is not precise2.
Normally, I am well aware of this limitation, but sometimes I get tripped up by already receiving Doubles and Floats as input.
In this case, it involved Geometrie coordinates, in doubles of course.
The following Unit Test shows the problem: