test_math ulp computation was wrong on big-endian systems