[PATCH] math: Add fmod implementation

Passes piglit tests on evergreen (sent to piglit list).

v2: Use llvm frem instruction for fmod

Signed-off-by: Aaron Watry <awatry@gmail.com>

Ping.

Ping.

I've just sent clang patch that implements __builtin_fmod using frem.
Can you wait with this, pending the outcome of that patch?
the __builtin_fmod version of libclc patch is much smaller

thanks,
jan