MdePkg: Apply uncrustify changes
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3737 Apply uncrustify changes to .c/.h files in the MdePkg package Cc: Andrew Fish <afish@apple.com> Cc: Leif Lindholm <leif@nuviainc.com> Cc: Michael D Kinney <michael.d.kinney@intel.com> Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com> Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
This commit is contained in:
committed by
mergify[bot]
parent
1436aea4d5
commit
2f88bd3a12
@@ -28,20 +28,21 @@
|
||||
INT64
|
||||
EFIAPI
|
||||
InternalMathDivRemS64x64 (
|
||||
IN INT64 Dividend,
|
||||
IN INT64 Divisor,
|
||||
OUT INT64 *Remainder OPTIONAL
|
||||
IN INT64 Dividend,
|
||||
IN INT64 Divisor,
|
||||
OUT INT64 *Remainder OPTIONAL
|
||||
)
|
||||
{
|
||||
INT64 Quot;
|
||||
INT64 Quot;
|
||||
|
||||
Quot = InternalMathDivRemU64x64 (
|
||||
(UINT64) (Dividend >= 0 ? Dividend : -Dividend),
|
||||
(UINT64) (Divisor >= 0 ? Divisor : -Divisor),
|
||||
(UINT64 *) Remainder
|
||||
(UINT64)(Dividend >= 0 ? Dividend : -Dividend),
|
||||
(UINT64)(Divisor >= 0 ? Divisor : -Divisor),
|
||||
(UINT64 *)Remainder
|
||||
);
|
||||
if (Remainder != NULL && Dividend < 0) {
|
||||
if ((Remainder != NULL) && (Dividend < 0)) {
|
||||
*Remainder = -*Remainder;
|
||||
}
|
||||
|
||||
return (Dividend ^ Divisor) >= 0 ? Quot : -Quot;
|
||||
}
|
||||
|
Reference in New Issue
Block a user