Re: OpenJDK or SE Java Floating Point Options?

2022-05-02 Thread Raffaello Giulietti
bs-dev@openjdk.java.net Subject: OpenJDK or SE Java Floating Point Options? To core-libs-dev, and Glavo, this inner nature of C++, simply means that the floating point equation can be altered in the decimal direction; the beginning of value degredation could be altered in the equation to be en

OpenJDK or SE Java Floating Point Options?

2022-05-01 Thread sminervini.prism
To core-libs-dev, and Glavo, this inner nature of C++, simply means that the floating point equation can be altered in the decimal direction; the beginning of value degredation could be altered in the equation to be entirely outside number type's the range. C++'s "apparent floating point" and S

Re: OpenJDK or SE Java Floating Point Options?

2022-04-16 Thread Andrew Haley
On 4/16/22 09:04, sminervini.prism wrote: > It is still the case that I and others need Java floating point and StrictMath > (the key double type calculator class) to be repaired. If you are going to pursue this line of reasoning, you must be aware of some things. Firstly, it is not possible to

OpenJDK or SE Java Floating Point Options?

2022-04-16 Thread sminervini.prism
in their ranges, without denormal and pronormal inclusion? > Message: 2 > Date: Fri, 15 Apr 2022 13:37:03 +0800 > From: Glavo zjx001...@gmail.com > > To: "sminervini.prism" sminervini.pr...@protonmail.com > > Cc: "core-libs-dev@openjdk.java.net" core-libs-

Re: OpenJDK or SE Java Floating Point Options?

2022-04-14 Thread Glavo
Your code snippet C++ shows different results than Java, simply because cout doesn't output full precision numbers. To see accurate results in C++, add this line of code at the beginning of the main function (need to import header file `iomanip`): std::cout << std::setprecision(20); After this,