Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

openlibm, fdlibm, Java openjdk? #272

Open
PowerUser1234 opened this issue Mar 7, 2023 · 1 comment
Open

openlibm, fdlibm, Java openjdk? #272

PowerUser1234 opened this issue Mar 7, 2023 · 1 comment

Comments

@PowerUser1234
Copy link

PowerUser1234 commented Mar 7, 2023

-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?

@ViralBShah
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants