VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/FirmwareNew/MdePkg/Library/BaseLib/MultS64x64.c@ 80721

最後變更 在這個檔案從80721是 80721,由 vboxsync 提交於 6 年 前

Devices/EFI/FirmwareNew: Start upgrade process to edk2-stable201908 (compiles on Windows and works to some extent), bugref:4643

  • 屬性 svn:eol-style 設為 native
檔案大小: 830 位元組
 
1/** @file
2 Math worker functions.
3
4 Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>
5 SPDX-License-Identifier: BSD-2-Clause-Patent
6
7**/
8
9
10
11
12#include "BaseLibInternals.h"
13
14/**
15 Multiplies a 64-bit signed integer by a 64-bit signed integer and generates a
16 64-bit signed result.
17
18 This function multiplies the 64-bit signed value Multiplicand by the 64-bit
19 signed value Multiplier and generates a 64-bit signed result. This 64-bit
20 signed result is returned.
21
22 @param Multiplicand A 64-bit signed value.
23 @param Multiplier A 64-bit signed value.
24
25 @return Multiplicand * Multiplier.
26
27**/
28INT64
29EFIAPI
30MultS64x64 (
31 IN INT64 Multiplicand,
32 IN INT64 Multiplier
33 )
34{
35 return (INT64)MultU64x64 ((UINT64) Multiplicand, (UINT64) Multiplier);
36}
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette