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

int128 shift_right_logical is defined as shift_right #65

Open
Lysxia opened this issue Oct 28, 2021 · 0 comments
Open

int128 shift_right_logical is defined as shift_right #65

Lysxia opened this issue Oct 28, 2021 · 0 comments

Comments

@Lysxia
Copy link

Lysxia commented Oct 28, 2021

external shift_right_logical : int128 -> int -> int128 = "int128_shift_right"

Test case:

Int128.(compare (shift_right_logical (of_int (-1)) 1) zero);;
(* actual: -1 *)
(* expected: 1 *)
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