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

ndigits: fix (harmless) bug introduced when deprecating WORD_SIZE #16879

Merged
merged 1 commit into from
Jun 11, 2016

Conversation

rfourquet
Copy link
Member

I checked also all other instances where WORD_SIZE was replaced in #16219, but didn't see other problems.

@rfourquet rfourquet force-pushed the rf/intfuncs-WORD_SIZE branch from 6ba061d to 69ffa31 Compare June 11, 2016 13:57
@rfourquet rfourquet changed the title intfuncs.jl: fix bug introduced when deprecating WORD_SIZE ndigits: fix (harmless) bug introduced when deprecating WORD_SIZE Jun 11, 2016
@vtjnash vtjnash merged commit 37ccc44 into JuliaLang:master Jun 11, 2016
@tkelman
Copy link
Contributor

tkelman commented Jun 11, 2016

what consequences did this have? none of the tests noticed?

@rfourquet rfourquet deleted the rf/intfuncs-WORD_SIZE branch June 11, 2016 16:39
@rfourquet
Copy link
Member Author

As far as I understood, the only consequence was to (potentially) slow down a computation in ndigits by not taking advantage of the greater range of values available in Int64 instead of Int32 (more div than necessary instead of *).

@rfourquet rfourquet restored the rf/intfuncs-WORD_SIZE branch June 12, 2016 10:13
@rfourquet rfourquet deleted the rf/intfuncs-WORD_SIZE branch June 12, 2016 10:16
@rfourquet rfourquet added the bugfix This change fixes an existing bug label May 23, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix This change fixes an existing bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants