X-Git-Url: http://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=src%2FBigFloat.hs;h=cc228bead187898a255eae3d3200a4edad546d10;hb=1d0eef94c31c60a51b1340fb8e65a2173f0f69f6;hp=4c57aadeb1e5f851976cc30414e0a7c6edf3fcea;hpb=2f54e89d36e835c58efcc281741632d457859b20;p=numerical-analysis.git diff --git a/src/BigFloat.hs b/src/BigFloat.hs index 4c57aad..cc228be 100644 --- a/src/BigFloat.hs +++ b/src/BigFloat.hs @@ -22,7 +22,7 @@ type R = BigFloat Prec50 instance Epsilon e => Additive.C (BigFloat e) where (+) = (P.+) - zero = (P.fromInteger 0) + zero = 0 negate = (P.negate) instance Epsilon e => Ring.C (BigFloat e) where