http://gdcproject.org/bugzilla/show_bug.cgi?id=14
--- Comment #2 from Iain Buclaw <[email protected]> 2012-09-25 16:53:49 UTC --- An alternate option could be to rethink the codegen for floating comparisons in GDC overall, as certain floating point comparisons fail in GDC x86/x86_64 too. Problem: Simply doing (A == B) is not correct. Possible solution: The comparison with an epsilon value is what most tends to be done in game programming. However the following: (diff = A - B, (diff < EPSILON) && (-diff > EPSILON))) Is a bit of wasted processing for something that should be fast, yet effective. Here's an interesting read-up: http://realtimecollisiondetection.net/blog/?p=89 Regards Iain -- Configure issuemail: http://gdcproject.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all issue changes.
