Added integer division and square root #20

Open
Mutex wants to merge 2 commits from Mutex/symphony_stdlib:div_isqrt into main
Contributor
No description provided.
Mutex added 1 commit 2026-09-06 20:58:57 +02:00
Mutex marked the pull request as work in progress 2026-09-06 22:05:27 +02:00
src/imath.asm Outdated
@@ -1,3 +1,82 @@
include errno
; (uint32_t, uint32_t) div(uint32_t, uint32_t);
; Divides two integers.
Contributor

Maybe specify this is unsigned division in the descreption asa well as the type above?

Maybe specify this is unsigned division in the descreption asa well as the type above?
Mutex marked this conversation as resolved
src/imath.asm Outdated
@@ -1,0 +9,4 @@
; Results:
; - r1: Quotient
; - r2: Remainder
; Errors:
Contributor

Missing clobbers: r1-r6

Missing clobbers: r1-r6
Mutex marked this conversation as resolved
Mutex added 1 commit 2026-09-06 22:50:52 +02:00
Mutex marked the pull request as ready for review 2026-09-06 22:51:36 +02:00
You are not authorized to merge this pull request.
This pull request can be merged automatically.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u https://gitea.shatteredmint.net/Mutex/symphony_stdlib div_isqrt:Mutex-div_isqrt
git checkout Mutex-div_isqrt
Sign in to join this conversation.
No Reviewers
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: TCShenanigans/symphony_stdlib#20