Skip to content
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

What must be done for 7.10 compatibility? #26

Closed
davidsd opened this issue Feb 29, 2016 · 1 comment
Closed

What must be done for 7.10 compatibility? #26

davidsd opened this issue Feb 29, 2016 · 1 comment

Comments

@davidsd
Copy link

davidsd commented Feb 29, 2016

I managed to get the 7.10 branch to compile with GHC 7.10.3 by making it compatible with the new integer-gmp, see here: https://github.com/davidsd/rounded/tree/7.10

However, even simple things like fromInteger don't seem to be working. For example,

do
  let x :: Rounded AwayFromZero 128 = fromInteger 1
  print x

prints 2.584942247048919467950081e24. I guess this has something to do with the cmm wrappers, but I'm afraid I don't understand what they're doing or how they work. What can I do to get this working?

@claudeha
Copy link
Collaborator

fixed by #27 merge

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants