-
-
Notifications
You must be signed in to change notification settings - Fork 86
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
Rationalize(878159.58,1*10^-12) - Rationalize(431874.32,1*10^-12) // N
returns wrong result
#1065
Comments
It's only the "output format" if you get the result as "input format" Rationalize(878159.58,1*10^-12) - Rationalize(431874.32,1*10^-12) // N //InputForm it returns |
You can get a better result, if you increase the precision: N[s.j.s1 ,30] A simplification before the numeric calculation may also get a better result. s.j.s1 // FullSimplify // N |
See test case
with |
Note: Because of using
it's not necessary anymore to use |
There is the input:
That gives wrong result:
Expected result:
The text was updated successfully, but these errors were encountered: