Question: Significant digits

Hello, I am new to Maple, and I have a novice question on rounding with evalf function.


I have an expression:



Then I set some parameters as constants:


a:=g(58); b:=g(-45); c:=g(100);


And evaluate the function at x=0, y=0 with different number of significant digits:


evalf4(n); evalf5(n);

Which returns -6.58 and -6.619.


-6.619 does not round to -6.58. Am I doing something wrong, or is it some intrinsic uncertainty with evaluations?


Thank you in advance!

Please Wait...