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

Implement divsf3 and divdf3 #206

Merged
merged 1 commit into from
Nov 14, 2017
Merged

Implement divsf3 and divdf3 #206

merged 1 commit into from
Nov 14, 2017

Conversation

aeleos
Copy link
Contributor

@aeleos aeleos commented Nov 12, 2017

It has two different functions for 32 and 64 bit as the 64 bit version but has some differences in how it does the calculations. Both are integrated into the testing system and pass all tests.

@bors
Copy link
Contributor

bors commented Nov 13, 2017

☔ The latest upstream changes (presumably #205) made this pull request unmergeable. Please resolve the merge conflicts.

@alexcrichton
Copy link
Member

Thanks! Just to confirm, this is all basically ported from the C version, right?

@aeleos
Copy link
Contributor Author

aeleos commented Nov 14, 2017

Yep it is pretty much copied line by line from C version. I had to get a little creative due to the type system and the C versions liberal use of casting between types and unsigned number negations, but I tried to make each line have the same function as in the C version.

@alexcrichton alexcrichton merged commit 93e3091 into rust-lang:master Nov 14, 2017
@alexcrichton
Copy link
Member

Ok sounds great, thanks so much!

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.

3 participants