NethermindEth / cairo-vm-go

A virtual machine for Cairo written in Go
MIT License
81 stars 50 forks source link

UnsignedDivRem #241

Closed cicr99 closed 5 months ago

cicr99 commented 6 months ago

Performs an unsigned division and modulus operation on a given dividend and divisor.

Reference: https://github.com/starkware-libs/cairo-lang/blob/efa9648f57568aad8f8a13fbf027d2de7c63c2c0/src/starkware/cairo/common/math.cairo#L301

Note: divmod function used inside the hint is already used in other hints, so check the code to see how it is solved

har777 commented 6 months ago

@cicr99 I would like to work on this!

cicr99 commented 6 months ago

@har777 I've assigned you to the issue!