Re: Java float, double, StrictMath correction?

2022-03-16 Thread Joseph D. Darcy
On 3/15/2022 6:11 PM, A Z wrote: [snip] Raffaello has said: 'Exact representation of 0.1 using base 2 is mathematically impossible, no matter the language (it is a periodic number in base 2).' Consideration of the article: https://people.eecs.berkeley.edu/~wkahan/JAVAhurt.pdf Which is

Java float, double, StrictMath correction?

2022-03-15 Thread A Z
To core-libs-dev@openjdk.java.net, float and double should be mutually enhanced or defaultedly changed, to uphold the following three properties: 1) Base ten arithmetic on float and double, via operators. 2) Base Ten elementary function calls, like those made on java.lang.StrictMath, on