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

  • You already know Dokkio is an AI-powered assistant to organize & manage your digital files & messages. Very soon, Dokkio will support Outlook as well as One Drive. Check it out today!

View
 

FloatTricks

Page history last edited by PBworks 16 years, 3 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.