diff -r 3de78115ecd5 -r a4cf2927e727 hotspot/src/share/vm/runtime/sharedRuntime.hpp --- a/hotspot/src/share/vm/runtime/sharedRuntime.hpp Thu Dec 10 17:03:48 2015 +0100 +++ b/hotspot/src/share/vm/runtime/sharedRuntime.hpp Thu Dec 10 09:42:22 2015 -0800 @@ -100,6 +100,12 @@ static jfloat frem(jfloat x, jfloat y); static jdouble drem(jdouble x, jdouble y); + +#ifdef _WIN64 + // Workaround for fmod issue in the Windows x64 CRT + static double fmod_winx64(double x, double y); +#endif + #ifdef __SOFTFP__ static jfloat fadd(jfloat x, jfloat y); static jfloat fsub(jfloat x, jfloat y);