openlibm icon indicating copy to clipboard operation
openlibm copied to clipboard

openlibm, fdlibm, Java openjdk?

Open PowerUser1234 opened this issue 2 years ago • 1 comments

-If I want to, can I create a new Java OpenJDK maths class, with a class signature the same as java.lang.StrictMath, and build an openjdk language useable calculator class parallel to StrictMath that calls upon openlibm instead of fdlibm, resulting in no openjdk floating point errors, by rebuilding the Java OpenJDK, say, version 19, using openlibm instead of fdlibm?

-Could this be done by dropping in openlibm, and changing the name references to openlibm instead of fdlibm, directly, requiring no other changes, or some changes?

PowerUser1234 avatar Mar 07 '23 05:03 PowerUser1234

In theory, that should work (not knowing much about java myself).

ViralBShah avatar Jan 10 '24 04:01 ViralBShah