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

More BDouble operations #21

Merged
merged 1 commit into from
Dec 24, 2017
Merged

More BDouble operations #21

merged 1 commit into from
Dec 24, 2017

Conversation

twodayslate
Copy link
Collaborator

@twodayslate twodayslate commented Dec 21, 2017

For issue #19

  • ceil
  • floor
  • rounded
  • pow (integer exponent only)

Let me know if there is a better way to do this.

@twodayslate twodayslate force-pushed the bdouble branch 2 times, most recently from c1a15c9 to ec0196e Compare December 21, 2017 04:34
@mkrd
Copy link
Owner

mkrd commented Dec 24, 2017

Very nice! We just need to implement more tests, I neglected that in the beginning, but it's necessary for high quality code

@mkrd mkrd merged commit 067c9ee into mkrd:master Dec 24, 2017
@twodayslate
Copy link
Collaborator Author

Agreed. And more docstrings. Will work on this for my next PR.

I don't know how to do pow or modulo for BDouble btw.

@mkrd
Copy link
Owner

mkrd commented Dec 24, 2017

Great, I will start doing that too.

I have some scripts from university laying around, I'll look up how to do exponentiation and modulus with fractions :)

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

Successfully merging this pull request may close these issues.

2 participants