Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Possible floating point error?
#2
what happens if you do this instead?
Code: (Select All)

x = CurrentGlobalFrameNumber*TargetFPS/GlobalFPS
or
Code: (Select All)

x = CurrentGlobalFrameNumber*TargetFPS\GlobalFPS
TerryRitchie, binary floating point is inherently inaccurate
Reply


Messages In This Thread
Possible floating point error? - by TerryRitchie - 05-30-2024, 01:02 AM
RE: Possible floating point error? - by Jack - 05-30-2024, 01:34 AM
RE: Possible floating point error? - by JRace - 05-30-2024, 01:48 AM
RE: Possible floating point error? - by SMcNeill - 05-30-2024, 02:30 AM
RE: Possible floating point error? - by SMcNeill - 05-30-2024, 03:31 AM



Users browsing this thread: 6 Guest(s)