From: <bug...@fr...> - 2010-03-24 15:13:18
|
http://bugs.freedesktop.org/show_bug.cgi?id=27286 --- Comment #3 from Karthik Hariharakrishnan <kar...@ar...> 2010-03-24 08:13:10 PST --- (In reply to comment #2) > 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); > } > Hi Brian, Could you try running the program against the library in lib/gallium. export LD_LIBRARY_PATH=<blah>/Mesa-7.7/lib/gallium The test passes when the following is set export LD_LIBRARY_PATH=<blah>/Mesa-7.7/lib/ Thanks -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. |