mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-24 11:01:01 +02:00
Removes some undefined behaviour in f2xm1 unit test
If the input range is outside of -1.0 to +1.0 then the result is undefined. To avoid precision problems just check for zero, aka 2^0-1 which also returns zero
This commit is contained in:
1 parent
f5d15df6be
commit
a4f92b8564
1 file changed
+2
-2
@@ -1,7 +1,7 @@
|
||||
%ifdef CONFIG
|
||||
{
|
||||
"RegData": {
|
||||
"MM7": ["0xC000000000000000", "0x4000"]
|
||||
"MM7": ["0x0000000000000000", "0x0000"]
|
||||
},
|
||||
"MemoryRegions": {
|
||||
"0x100000000": "4096"
|
||||
@@ -17,5 +17,5 @@ hlt
|
||||
|
||||
align 8
|
||||
data:
|
||||
dt 2.0
|
||||
dt 0.0
|
||||
dq 0
|
||||
Reference in new issue
Block a user