]>
Commit | Line | Data |
---|---|---|
3eb9473e | 1 | /*++\r |
2 | \r | |
2c7e5c2f HT |
3 | Copyright (c) 2004 - 2006, Intel Corporation. All rights reserved.<BR>\r |
4 | This program and the accompanying materials \r | |
3eb9473e | 5 | are licensed and made available under the terms and conditions of the BSD License \r |
6 | which accompanies this distribution. The full text of the license may be found at \r | |
7 | http://opensource.org/licenses/bsd-license.php \r | |
8 | \r | |
9 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r | |
10 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r | |
11 | \r | |
12 | \r | |
13 | Module Name:\r | |
14 | \r | |
15 | MultU64x64.c\r | |
16 | \r | |
17 | Abstract: \r | |
18 | \r | |
19 | Math worker functions.\r | |
20 | \r | |
21 | --*/\r | |
22 | \r | |
c7f33ca4 | 23 | #include "BaseLibInternals.h"\r |
3eb9473e | 24 | \r |
25 | /**\r | |
26 | Multiples a 64-bit unsigned integer by a 64-bit unsigned integer and\r | |
27 | generates a 64-bit unsigned result.\r | |
28 | \r | |
29 | This function multiples the 64-bit unsigned value Multiplicand by the 64-bit\r | |
30 | unsigned value Multiplier and generates a 64-bit unsigned result. This 64-\r | |
31 | bit unsigned result is returned.\r | |
32 | \r | |
33 | @param Multiplicand A 64-bit unsigned value.\r | |
34 | @param Multiplier A 64-bit unsigned value.\r | |
35 | \r | |
36 | @return Multiplicand * Multiplier\r | |
37 | \r | |
38 | **/\r | |
39 | UINT64\r | |
40 | EFIAPI\r | |
41 | MultU64x64 (\r | |
42 | IN UINT64 Multiplicand,\r | |
43 | IN UINT64 Multiplier\r | |
44 | )\r | |
45 | {\r | |
46 | UINT64 Result;\r | |
47 | \r | |
48 | Result = InternalMathMultU64x64 (Multiplicand, Multiplier);\r | |
49 | \r | |
50 | return Result;\r | |
51 | }\r |