Performs truncated division and remainder. This trait provides a way to efficiently compute both the quotient and remainder in a single operation. The division truncates towards zero, matching the behavior of theDocumentation Index
Fetch the complete documentation index at: https://docs.starknet.io/llms.txt
Use this file to discover all available pages before exploring further.
/ and %
operators.
Signature
Examples
Trait functions
div_rem
Performs the/ and the % operations, returning both the quotient and remainder.