summaryrefslogtreecommitdiff
path: root/MdePkg/Library/BaseLib/DivS64x64Remainder.c
diff options
context:
space:
mode:
authorgikidy <gikidy@6f19259b-4bc3-4df7-8a09-765794883524>2008-11-25 03:19:49 +0000
committergikidy <gikidy@6f19259b-4bc3-4df7-8a09-765794883524>2008-11-25 03:19:49 +0000
commit9aa049d9717f1260426918eab2d5986e838a8754 (patch)
treecb3b25e97e56c0140b2670aa37e131994a2392ab /MdePkg/Library/BaseLib/DivS64x64Remainder.c
parent04fdba541287ba2759ce3e51157c38148ad8b4f6 (diff)
downloadedk2-platforms-9aa049d9717f1260426918eab2d5986e838a8754.tar.xz
Synchronize function comment in MdePkg\Library\BaseLib.h with the instance of this functions.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6718 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Library/BaseLib/DivS64x64Remainder.c')
-rw-r--r--MdePkg/Library/BaseLib/DivS64x64Remainder.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/MdePkg/Library/BaseLib/DivS64x64Remainder.c b/MdePkg/Library/BaseLib/DivS64x64Remainder.c
index f218a7a13f..5fcc96a174 100644
--- a/MdePkg/Library/BaseLib/DivS64x64Remainder.c
+++ b/MdePkg/Library/BaseLib/DivS64x64Remainder.c
@@ -26,6 +26,10 @@
NULL, then the 64-bit signed remainder is returned in Remainder. This
function returns the 64-bit signed quotient.
+ It is the caller¡¯s responsibility to not call this function with a Divisor of 0.
+ If Divisor is 0, then the quotient and remainder should be assumed to be
+ the largest negative integer.
+
If Divisor is 0, then ASSERT().
@param Dividend A 64-bit signed value.