asked 103k views
5 votes
What exactly is 'epsilon' in Python?

2 Answers

6 votes

So, a correct definition of what epsilon means in Python might be: epsilon is the smallest positive floating point number such that (1 + epsilon) - 1 equals epsilon . That definition is wrong: machine epsilon is the number eps such that 1+eps is the next number after 1.

answered
User Michael Logutov
by
8.4k points
2 votes
The definition of epsilon in Python is that, it is the variable that is the difference between the estimated answer and the exact answer. When the program is being repeated towards a solution, epsilon gets lesser. Hope this answer helps you.
answered
User SimpleNEasy
by
8.5k points
Welcome to Qamnty — a place to ask, share, and grow together. Join our community and get real answers from real people.