Question: different evalf rounding results

Different evalf results.

evalf(3/Pi);
                         .9549296583

evalf(3/Pi,1);
                         .9

evalf(3/Pi,2);
                         .96

evalf(3/Pi,3);
                          .954

 

evalf(.9549296583,1)
                                    1.

evalf(.9549296583,2)
                                    0.95

evalf(.9549296583,3)
                                    0.955

 

This is probably a floating point issue but shouldn't the results be the same?

 

 

 

Please Wait...