-
Notifications
You must be signed in to change notification settings - Fork 268
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
Problem with sqrt #54
Comments
Thank you for the feedback, can you give me an example expression that reproduces this? |
please try SRRT(24) |
My mistake, I think it will only work on perfect squares. |
to the existing SQRT tests still passes. |
What kind of Java and machine are you using? I tested in on a 64bit Intel Windows machine, without problem. |
I am using mac pro (2.6 GHz Intel Core i7), Yes running junit tests on native machine works fine. Hope that helps. |
- Making declared functions,variables as well as operators case insensitive
I have now tried out 4 different Android devices and 2 different emulator configurations, but I was unable to reproduce. I'll close this issue for now. If there is a way how I can reproduce this bug here, let me know. |
Hello Udo,
Thank you producing such a useful library.
I came across an issue where sqrt function is getting stuck in this loop.
do {
ixPrev = ix;
ix = ix.add(n.divide(ix)).shiftRight(1);
// Give other threads a chance to work;
Thread.yield();
} while (ix.compareTo(ixPrev) != 0);
I ended up overriding the function with java's sqrtj implementation.
The text was updated successfully, but these errors were encountered: