VirtualBox

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

最後變更 在這個檔案從107675是 99404,由 vboxsync 提交於 2 年 前

Devices/EFI/FirmwareNew: Update to edk2-stable202302 and make it build, bugref:4643

  • 屬性 svn:eol-style 設為 native
檔案大小: 787 位元組
 
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#include "BaseLibInternals.h"
10
11/**
12 Multiplies a 64-bit signed integer by a 64-bit signed integer and generates a
13 64-bit signed result.
14
15 This function multiplies the 64-bit signed value Multiplicand by the 64-bit
16 signed value Multiplier and generates a 64-bit signed result. This 64-bit
17 signed result is returned.
18
19 @param Multiplicand A 64-bit signed value.
20 @param Multiplier A 64-bit signed value.
21
22 @return Multiplicand * Multiplier.
23
24**/
25INT64
26EFIAPI
27MultS64x64 (
28 IN INT64 Multiplicand,
29 IN INT64 Multiplier
30 )
31{
32 return (INT64)MultU64x64 ((UINT64)Multiplicand, (UINT64)Multiplier);
33}
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

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