#floatmath search results
Floats are sneaky: precision is an illusion! Floating-point math isn't exactโtiny rounding errors are everywhere. Avoid comparing floats with == or you'll get weird bugs. Ever been bitten by float math? Read more: iam.slys.dev/p/python-basicโฆ #Python #FloatMath #ProgrammingBugs
Over the holidays I replaced all non-deterministic floating point math in my game logic with deterministic fixed point math, which is important for replays and eventually online matches. I have a new appreciation for #floatmath. #overflowexception #gamedev #indiedev
using == for float is obviously evil, but I often see epsilon comparison with fixed EPS set to e.g. 10e-3 which is also nonsense. #floatmath
Floats are sneaky: precision is an illusion! Floating-point math isn't exactโtiny rounding errors are everywhere. Avoid comparing floats with == or you'll get weird bugs. Ever been bitten by float math? Read more: iam.slys.dev/p/python-basicโฆ #Python #FloatMath #ProgrammingBugs
Over the holidays I replaced all non-deterministic floating point math in my game logic with deterministic fixed point math, which is important for replays and eventually online matches. I have a new appreciation for #floatmath. #overflowexception #gamedev #indiedev
using == for float is obviously evil, but I often see epsilon comparison with fixed EPS set to e.g. 10e-3 which is also nonsense. #floatmath
Something went wrong.
Something went wrong.
United States Trends
- 1. Northern Lights 43.8K posts
- 2. #Aurora 9,176 posts
- 3. #DWTS 52.7K posts
- 4. #RHOSLC 7,017 posts
- 5. Sabonis 6,208 posts
- 6. H-1B 33.5K posts
- 7. AI-driven Web3 1,010 posts
- 8. Justin Edwards 2,421 posts
- 9. #GoAvsGo 1,561 posts
- 10. Gonzaga 2,959 posts
- 11. #MakeOffer 8,723 posts
- 12. Louisville 18K posts
- 13. Creighton 2,277 posts
- 14. Eubanks N/A
- 15. Lowe 12.7K posts
- 16. Jamal Murray N/A
- 17. Schroder N/A
- 18. Andy 60.4K posts
- 19. JT Toppin N/A
- 20. Oweh 2,118 posts