diff --git a/ghc/lib/required/Complex.lhs b/ghc/lib/required/Complex.lhs index cfbeb83b0109abd89a436cfd194811443094974b..99c60ca7da9e73b63f373b12087ef226df8e71f0 100644 --- a/ghc/lib/required/Complex.lhs +++ b/ghc/lib/required/Complex.lhs @@ -116,7 +116,7 @@ instance (Prelude.RealFloat a) => Floating (Complex a) where coshx = cosh x asin z@(x:+y) = y':+(-x') - where (x':+y') = log ((-y:+x) + sqrt (1 - z*z)) + where (x':+y') = log (((-y):+x) + sqrt (1 - z*z)) acos z@(x:+y) = y'':+(-x'') where (x'':+y'') = log (z + ((-y'):+x')) (x':+y') = sqrt (1 - z*z)