I am writing a program in python and I want my solutions to return within 8 significant figures of the exact solution.
I have searched the forums here, however there doe not seem to be any direct answer. I want a simple solution to make sure that the answer the program is computing is within that limit. I know it should only take 2, maybe three lines of code, I'm just not sure how to make it happen.
For example:
TOL = 1.0000001 to 0.99999999
The solution should be in this range.