| 
  • If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • Social distancing? Try a better way to work remotely on your online files. Dokkio, a new product from PBworks, can help your team find, organize, and collaborate on your Drive, Gmail, Dropbox, Box, and Slack files. Sign up for free.

View
 

FloatTricks

Page history last edited by PBworks 12 years, 4 months ago


 

floats are fuzzy around the edges and not "dense" enough

 

  • Never do: "The difference between two floats is equal to..."
  • Do: "The difference between two floats is in the range ..."
    • But even 2 needs some serious thinking if the range of float values being compared is large.

here is error and What Every Computer Scientist Should Know About Floating-Point Arithmetic

Comments (0)

You don't have permission to comment on this page.