We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Could you add this feature ? If you cannot, I can probably code this and try a pull request.
The text was updated successfully, but these errors were encountered:
Hi Johan
Would conversions from the other uint types to uint128 be enough? Then you could implement it with something like
let uint128_of_two_uint64 x y = let (||) = Uint128.logor in let (<<) = Uint128.shift_left in let u128 = Uint128.of_uint64 in (u128 x << 64) || u128 y
The Uint128.of_uint64 function doesn't exist, but it would be trivial to add.
Uint128.of_uint64
Cheers, Andre
On Thu, May 28, 2015 at 9:58 AM, johanmazel [email protected] wrote:
Could you add this feature ? If you cannot, I can probably code this and try a pull request. — Reply to this email directly or view it on GitHub #10.
— Reply to this email directly or view it on GitHub #10.
Sorry, something went wrong.
Yes, that would be perfect. Could you also add a uint64_of_two_uint32 function ? And maybe a uint128_of_four_uint32 function ?
No branches or pull requests
Could you add this feature ?
If you cannot, I can probably code this and try a pull request.
The text was updated successfully, but these errors were encountered: