-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Monoid[Double] and Monoid[Float] are incorrect #301
Comments
I believe this was a conscious decision by @non with the assumption that people generally know about the gotchas with floating point arithmetic but still want to be able to add floats and doubles. Is that an accurate assessment, @non? It seems to me like the options are either:
I could see an argument that the blame lies as much with the |
I don't mean it.
the |
@xuwei-k oh wow thanks for pointing that out. I can't believe we let that go for so long! I'll submit a fix. |
Fixes typelevel#301. This was ignored for far too long (even though there was typelevel#301 for it). We should really have test coverage on this. I say we merge this for now but discuss whether this should just be coming from algebra and add tests to whichever project it comes from.
Fixes typelevel#301. This was ignored for far too long (even though there was typelevel#301 for it). We should really have test coverage on this. I say we merge this for now but discuss whether this should just be coming from algebra and add tests to whichever project it comes from.
xuwei-k@6dbad2ddff10
The text was updated successfully, but these errors were encountered: