Skip to content

Conversation

@simsaidan
Copy link

The method is broken into a few functions to
satisfy the complexity linter. It checks for
edge cases like the dividend being 0 or the
divisor being 1 or 0.

It also tries to use the shift trick for even divisors. Tests have been added under test_int.py

The method is broken into a few functions to
satisfy the complexity linter. It checks for
edge cases like the dividend being 0 or the
divisor being 1 or 0.

It also tries to use the shift trick for even divisors.
Tests have been added under test_int.py
@simsaidan simsaidan mentioned this pull request Dec 29, 2025
5 tasks
@dakk dakk linked an issue Dec 29, 2025 that may be closed by this pull request
5 tasks
@dakk dakk merged commit 171c32e into dakk:master Dec 29, 2025
7 of 8 checks passed
@simsaidan simsaidan mentioned this pull request Jan 2, 2026
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.

Qint integer division

3 participants