12 Nov
2001
12 Nov
'01
4:50 a.m.
Hi guys, hugs has recip (x:%y) = if x < 0 then (-y) :% (-x) else y :% x which is not correct when x == 0. Thanks Ian
15 Nov
15 Nov
2:34 a.m.
Thanks, now fixed (another Haskell 1.3 defn). --sigbjorn ----- Original Message ----- From: "Ian Lynagh" <igloo@earth.li> To: <hugs-bugs@haskell.org> Sent: Sunday, November 11, 2001 12:50 Subject: recip incorrect for 0 % 1
Hi guys,
hugs has
recip (x:%y) = if x < 0 then (-y) :% (-x) else y :% x
which is not correct when x == 0.
Thanks Ian
9112
Age (days ago)
9115
Last active (days ago)
1 comments
2 participants
participants (2)
-
Ian Lynagh -
Sigbjorn Finne