Results 1 to 5 of 5

Thread: IEEE float point formats - are they reliable?

  1. #1

    IEEE float point formats - are they reliable?

    Hi, everyone!

    Are IEEE float point formats reliable for calculations? What I mean here is: do they guarantee that same calculations on two different computers will give exactly same result?

    The problem I have is synchronization of collision detection results on two clients in the game. Do I need to synchronize them at all if I use standard FreePascal real types?

    Thanks in advance...
    blog: http://alexionne.blogspot.com/

  2. #2

    IEEE float point formats - are they reliable?

    No, you need to use integers.
    There are only 10 types of people in this world; those who understand binary and those who don't.

  3. #3

    IEEE float point formats - are they reliable?

    What he said. I've found this from working on Playstation2, Xbox and Gamecube. The results from the same calculations may vary in the slightest fraction, exposing an error on one console while it seems to work fine on another console.

  4. #4

    IEEE float point formats - are they reliable?

    Yeah, I was affraid it is so... Ok, heads up, let's do some math!

    Anyway, thanx for your answers...

    And, THANX to Clootie for DirectX headers
    blog: http://alexionne.blogspot.com/

  5. #5

    IEEE float point formats - are they reliable?

    :roll:
    There are only 10 types of people in this world; those who understand binary and those who don't.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •