Update SoftFloat.cs
This commit is contained in:
parent
d26fe45255
commit
a2e2e3d3c0
1 changed files with 4 additions and 4 deletions
|
@ -1545,9 +1545,9 @@ namespace ChocolArm64.Instructions
|
||||||
return -value;
|
return -value;
|
||||||
}
|
}
|
||||||
|
|
||||||
private static float ZerosOrOnes(bool zeros)
|
private static float ZerosOrOnes(bool ones)
|
||||||
{
|
{
|
||||||
return BitConverter.Int32BitsToSingle(!zeros ? 0 : -1);
|
return BitConverter.Int32BitsToSingle(ones ? -1 : 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
private static float FPUnpack(
|
private static float FPUnpack(
|
||||||
|
@ -2629,9 +2629,9 @@ namespace ChocolArm64.Instructions
|
||||||
return -value;
|
return -value;
|
||||||
}
|
}
|
||||||
|
|
||||||
private static double ZerosOrOnes(bool zeros)
|
private static double ZerosOrOnes(bool ones)
|
||||||
{
|
{
|
||||||
return BitConverter.Int64BitsToDouble(!zeros ? 0L : -1L);
|
return BitConverter.Int64BitsToDouble(ones ? -1L : 0L);
|
||||||
}
|
}
|
||||||
|
|
||||||
private static double FPUnpack(
|
private static double FPUnpack(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue