IEEE754 testing in Haskell