| 1: | func @div = <{T: Type, IS_EXACT: Bool}> (lhs: T, rhs: T) -> T; |
Integer division.
T: type of arguments and output - must be integral or a vector of integral
IS_EXACT: If true, guarantees that the result never has a remainder
lhs: left-hand-side value of operation
rhs: right-hand-side value of operation
Result value of the division
If IS_EXACT is true, it is undefined behavior if (@div<{TYPE, true}>(a, b) * b) != .
(TODO)