Correct most math test case errors by using double precision math.

  Some errors are still due to rounding, and there are only 3 real
issues that need to be investigated in 32 bit mode using x87.