From: <bug...@fr...> - 2010-03-24 14:53:41
|
http://bugs.freedesktop.org/show_bug.cgi?id=27286 --- Comment #2 from Brian Paul <bri...@gm...> 2010-03-24 07:53:33 PST --- Can you provide a stand-alone test program that demonstrates this? I tried it myself and I got the expected result: mod(4.0, 2.0) returns 0.0 Mesa's mod() function is implemented just as the spec says: float mod(const float a, const float b) { float oneOverB; __asm float_rcp oneOverB, b; __retVal = a - b * floor(a * oneOverB); } -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. |