Coverage Report

Created: 2024-10-17 06:29

/src/hbfa-fl/HBFA/UefiHostTestPkg/Library/BaseLibHost/MultS64x64.c
Line
Count
Source (jump to first uncovered line)
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 <Base.h>
10
#include <Library/BaseLib.h>
11
#include <Library/DebugLib.h>
12
13
/**
14
  Multiplies a 64-bit signed integer by a 64-bit signed integer and generates a
15
  64-bit signed result.
16
17
  This function multiplies the 64-bit signed value Multiplicand by the 64-bit
18
  signed value Multiplier and generates a 64-bit signed result. This 64-bit
19
  signed result is returned.
20
21
  @param  Multiplicand  A 64-bit signed value.
22
  @param  Multiplier    A 64-bit signed value.
23
24
  @return Multiplicand * Multiplier.
25
26
**/
27
INT64
28
EFIAPI
29
MultS64x64 (
30
  IN      INT64                     Multiplicand,
31
  IN      INT64                     Multiplier
32
  )
33
0
{
34
0
  return (INT64)MultU64x64 ((UINT64) Multiplicand, (UINT64) Multiplier);
35
0
}