http://bugs.freedesktop.org/show_bug.cgi?id=21872
--- Comment #3 from Brian Paul <brian.p...@tungstengraphics.com> 2009-06-15 16:44:43 PST --- Hmmm, I could have sworn I thoroughly tested that macro. Here's a new version to try which avoids the conditional. The idea is to add a bias to make negative values positive. It'll fail for very large positive/negative A values but it shouldn't be an issue in practice. #define REMAINDER(A, B) (((A) + (B) * 1024) % (B)) Let me know if that works for you. -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Mesa3d-dev mailing list Mesa3d-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mesa3d-dev