Python Forum
Python sys.float_info.min value
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Python sys.float_info.min value
#3
Python recognises change in value up to 1.e-15 (or at least it does on my machine):

>>> 1 + 1.e-15 == 1    # values are not even                                                            
False
>>> 1 + 1.e-16 == 1    # now values are even for Python                                                             
True
I'm not 'in'-sane. Indeed, I am so far 'out' of sane that you appear a tiny blip on the distant coast of sanity. Bucky Katt, Get Fuzzy

Da Bishop: There's a dead bishop on the landing. I don't know who keeps bringing them in here. ....but society is to blame.
Reply


Messages In This Thread
Python sys.float_info.min value - by perfringo - Mar-23-2020, 05:58 AM
RE: Python sys.float_info.min value - by perfringo - Mar-27-2020, 08:36 AM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020