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

_addcarry_u64 only available on 64-bit platforms #157

Open
arnetheduck opened this issue Aug 8, 2024 · 0 comments
Open

_addcarry_u64 only available on 64-bit platforms #157

arnetheduck opened this issue Aug 8, 2024 · 0 comments

Comments

@arnetheduck
Copy link
Member

func addcarry_u64(carryIn: Carry, a, b: uint64, sum: var culonglong): Carry {.importc: "_addcarry_u64", intrinsics.}
- on 32-bit platforms this should revert to a 32-bit add-with-carry implementation on 32-bit limbs

This is relevant for extracting primitives into an intops library

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

1 participant