imageworks/OpenShadingLanguage — pull request #254 by brechtvl (2013-05-16 18:06:23+00:00)
Title: Fix missing osl_fmod_vvf and dual functions on Windows

Windows llvm_gen_modulus has a special exception where it doesn't generate the fmod instruction directly, so these implementations are needed.

I moved the pow functions into a macro and then used it for pow and fmod, these seem to be the only math functions that support this variation.