projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f401bd
)
[project @ 1997-05-18 04:08:22 by sof]
author
sof
<unknown>
Sun, 18 May 1997 04:08:22 +0000
(
04:08
+0000)
committer
sof
<unknown>
Sun, 18 May 1997 04:08:22 +0000
(
04:08
+0000)
ghc/lib/required/Complex.lhs
patch
|
blob
|
history
diff --git
a/ghc/lib/required/Complex.lhs
b/ghc/lib/required/Complex.lhs
index
cfbeb83
..
99c60ca
100644
(file)
--- 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)