[Bug 6736] please sync math.h with mingw