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

properFraction is currently undefined #18

Open
ekmett opened this issue May 25, 2014 · 1 comment
Open

properFraction is currently undefined #18

ekmett opened this issue May 25, 2014 · 1 comment

Comments

@ekmett
Copy link
Owner

ekmett commented May 25, 2014

mpfr_get_z_2exp should be able to get the significand as an Integer, and with a little bit of multiplication by the 2^exponent we could solve this.

@claudeha
Copy link
Collaborator

properFraction is currently defined using modf, but I think it needs a test suite to be sure whether it is correct w.r.t. Haskell2010 expectations on the result.

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