Module div_mod

Module div_mod 

Source

Structsยง

DivMod
Return the quotient and remainder for division of u160 values. This algorithm divines in the result from the secret-input stream. If the divined-in inputs are not correct, this snippet crashes the VM. If the divined input is not a BFieldCodec encoded u160, the VM also crashes.