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

fix BigInt --> Int64 conversion on 32-bit platforms [fix #5315] #5316

Merged
merged 1 commit into from
Jan 6, 2014

Conversation

StefanKarpinski
Copy link
Sponsor Member

No description provided.

@hrobotron
Copy link

Jeff, the reason for this fix is, that not everywhere Clong==Int64. E.g. on i486-linux Clong==Int32. And yes, Jeff, the L97 should be Int64 instead. Thanks for fixing.

@JeffBezanson
Copy link
Sponsor Member

But in that branch of the conditional, Clong==Int64 holds.

These definitions get replaced on 64-bit platforms since Clong ===
Int64 and Culong === Uint64, so they only apply on 32-bit platforms
where pulling out the hi and lo words is necessary.
StefanKarpinski added a commit that referenced this pull request Jan 6, 2014
fix BigInt --> Int64 conversion on 32-bit platforms [fix #5315]
@StefanKarpinski StefanKarpinski merged commit 4fec9ba into master Jan 6, 2014
@StefanKarpinski StefanKarpinski deleted the sk/big2int64 branch January 6, 2014 20:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
system:32-bit Affects only 32-bit systems
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants