Python Forum
smallest float that can increment a given value
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
smallest float that can increment a given value
#1
given a float value, i want to get the smallest float value that can increment the given value. below that added to the given value leaves the same given value. these would be powers of 2. i would like to know if Python has such a function and if not, what would you name such a function?
Tradition is peer pressure from dead people

What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Reply


Messages In This Thread
smallest float that can increment a given value - by Skaperen - Dec-11-2021, 05:02 AM

Forum Jump:

User Panel Messages

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