Solved by KFrank in post #2 
              
              
                Hi Vignesh! 

Yes, such a discrepancy is to be expected due to floating-point 
round-off error. 

In short, when you use  floating-point arithmetic to perform operations 
in different orders that should be mathematically equivalent, you, in 
general, expect to get (slightly) different results. 
In p…