33 OUT INT64 *Remainder OPTIONAL
39 (UINT64)(Dividend >= 0 ? Dividend : -Dividend),
40 (UINT64)(Divisor >= 0 ? Divisor : -Divisor),
43 if ((Remainder !=
NULL) && (Dividend < 0)) {
44 *Remainder = -*Remainder;
47 return (Dividend ^ Divisor) >= 0 ? Quot : -Quot;
UINT64 EFIAPI InternalMathDivRemU64x64(IN UINT64 Dividend, IN UINT64 Divisor, OUT UINT64 *Remainder OPTIONAL)
INT64 EFIAPI InternalMathDivRemS64x64(IN INT64 Dividend, IN INT64 Divisor, OUT INT64 *Remainder OPTIONAL)