Skip to content

Support negative exponent in mul_2exp and div_2exp#172

Open
JanBeh wants to merge 1 commit intoocaml:masterfrom
JanBeh:fix_issue_171
Open

Support negative exponent in mul_2exp and div_2exp#172
JanBeh wants to merge 1 commit intoocaml:masterfrom
JanBeh:fix_issue_171

Conversation

@JanBeh
Copy link
Copy Markdown

@JanBeh JanBeh commented Mar 26, 2026

Adds additional branches in mul_2exp and div_2exp to support negative exponents (greater than min_int). Fixes #171.

Adds additional branches in mul_2exp and div_2exp to support negative
exponents (greater than min_int). Fixes ocaml#171.
@JanBeh
Copy link
Copy Markdown
Author

JanBeh commented Mar 26, 2026

This is my first contribution to the OCaml ecosystem. I'm not sure if my patch matches the expected style or usual contribution process. Feel free to edit as you see fit.

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

Successfully merging this pull request may close these issues.

Q.mul_2exp and Q.div_2exp fail with negative exponent

1 participant