Added EXPORT tag to int_cast_constant for the benefit of windows builds
Avoid a compiler warning
Commenting tweaks in simplify
Floating point mod improvement.

Now it's consistent with llvm (and more correct)

Previously 1.0f % -2.0f would return -3.0f. Ugh.