http://bugs.freedesktop.org/show_bug.cgi?id=27286





--- Comment #2 from Brian Paul <brian.e.p...@gmail.com>  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.

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Mesa3d-dev mailing list
Mesa3d-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to