On Sun, 14 Aug 2022 11:47:53 GMT, Marius Hanl <mh...@openjdk.org> wrote:

>> you are right, we should not use non-ascii identifiers.
>> it was a joke, sorry.
>
>> So, plugging a 100 columns of 200 px wide we get something to the order of 
>> 1e-12 .. 1e-11.
> 
> Thanks for the explaination and links.
> The remaining question is: Should we then use a smaller epsilon value or does 
> it not matter at all?

In general, the smallest epsilon depends on the magnitude of the floating-point 
number. There’s `Math.ulp(double)`, which for a given double value, returns the 
distance to the next representable value.

-------------

PR: https://git.openjdk.org/jfx/pull/848

Reply via email to