A bug with Sum (as in Monoid)

Dannyu NDos ndospark320 at gmail.com
Wed Nov 6 21:48:30 UTC 2019

Sum has bug with floating points. Current definition states +0 as the
identity element, while the actual identity is -0 since +0 + -0 = +0.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/libraries/attachments/20191107/3730cc23/attachment.html>

More information about the Libraries mailing list