Added submodule contents into tree
This commit is contained in:
parent
01a752555c
commit
9b991208cd
4934 changed files with 1657477 additions and 5 deletions
15
externals/dynarmic/tests/fp/FPValue.cpp
vendored
Normal file
15
externals/dynarmic/tests/fp/FPValue.cpp
vendored
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
/* This file is part of the dynarmic project.
|
||||
* Copyright (c) 2018 MerryMage
|
||||
* SPDX-License-Identifier: 0BSD
|
||||
*/
|
||||
|
||||
#include "dynarmic/common/fp/info.h"
|
||||
|
||||
using namespace Dynarmic::FP;
|
||||
|
||||
static_assert(FPValue<u32, false, 0, 1>() == 0x3f800000);
|
||||
static_assert(FPValue<u32, false, -1, 3>() == 0x3fc00000);
|
||||
static_assert(FPValue<u32, false, 0, 12739812>() == 0x4b4264e4);
|
||||
static_assert(FPValue<u32, false, -8, 100>() == 0x3ec80000);
|
||||
static_assert(FPValue<u32, true, 0, 1>() == 0xbf800000);
|
||||
static_assert(FPValue<u32, false, -1, 1>() == 0x3f000000);
|
||||
Loading…
Add table
Add a link
Reference in a new issue