Jump to content
  • Advertisement

Daan Niphuis

  • Content Count

  • Joined

  • Last visited

Community Reputation

103 Neutral

About Daan Niphuis

  • Rank
  1. Daan Niphuis

    Result of certain floating point operations

    Heh, was so fixed on the IEEE peculiarities, that didn't even consider the natural reasons [/quote] Hmmm, sorry about that. I forgot to mention a != b and are both finite. I did some tests and some equations can indeed be untrue for large values of a and b.
  2. Hello, I have a question regarding the result of IEEE floating point operations. I was wondering if the following statements are always true a == a + 0.0f * (b - a) b == a + 1.0f * (b - a) 1.0f == (a - b) / (a - b) 0.0f == (a - a) / (a - b) where a and b are floating point numbers.
  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!