Implement some trivial FP foldings when -enable-unsafe-fp-math is specified.