| 47 | }; |
| 48 | |
| 49 | static struct DivRem LUDIV(uint64_t SrcHigh, uint64_t SrcLow, uint64_t Divisor) { |
| 50 | __uint128_t Source = (static_cast<__uint128_t>(SrcHigh) << 64) | SrcLow; |
| 51 | |
| 52 | return { |
| 53 | .Quotient = (uint64_t)(Source / Divisor), |
| 54 | .Remainder = (uint64_t)(Source % Divisor), |
| 55 | }; |
| 56 | } |
| 57 | |
| 58 | static struct DivRem |
| 59 | LDIV(uint64_t SrcHigh, uint64_t SrcLow, int64_t Divisor) { |
nothing calls this directly
no outgoing calls
no test coverage detected