[project @ 1997-05-18 04:08:22 by sof]
authorsof <unknown>
Sun, 18 May 1997 04:08:22 +0000 (04:08 +0000)
committersof <unknown>
Sun, 18 May 1997 04:08:22 +0000 (04:08 +0000)
ghc/lib/required/Complex.lhs

index cfbeb83..99c60ca 100644 (file)
@@ -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)