I apologize upfront for the simple minded question, however i couldn't find an answer in either the Mathematica documentation or Stack exchange.
I am trying to explore the effect of finite precision in Mathematica, however i seem to miss how to limit calculation precision . Here is a trivial example . Say i want to calculate the n'th power of x^n using various precessions. I tried something like this, however while the output becomes truncated the calculation is clearly not limited (see the result from two 2) ?
what am i missing, or better how would this be done correct ?
SetPrecision[Pi, 3] SetPrecision[SetPrecision[Pi, 3]^8, 15] SetAccuracy[Pi, 3]^8 Pi^8 // N 3.14^8