Nit.
This commit is contained in:
parent
f595272226
commit
2f197cd40d
1 changed files with 2 additions and 2 deletions
|
@ -443,7 +443,7 @@ namespace ChocolArm64.Instruction
|
||||||
|
|
||||||
float Result;
|
float Result;
|
||||||
|
|
||||||
if (BiasedExp >= (uint)Math.Pow(2d, E) - 1)
|
if (BiasedExp >= (uint)Math.Pow(2d, E) - 1u)
|
||||||
{
|
{
|
||||||
Result = OverflowToInf ? FPInfinity(Sign) : FPMaxNormal(Sign);
|
Result = OverflowToInf ? FPInfinity(Sign) : FPMaxNormal(Sign);
|
||||||
|
|
||||||
|
@ -759,7 +759,7 @@ namespace ChocolArm64.Instruction
|
||||||
|
|
||||||
if (!State.GetFpcrFlag(FPCR.AHP))
|
if (!State.GetFpcrFlag(FPCR.AHP))
|
||||||
{
|
{
|
||||||
if (BiasedExp >= (uint)Math.Pow(2d, E) - 1)
|
if (BiasedExp >= (uint)Math.Pow(2d, E) - 1u)
|
||||||
{
|
{
|
||||||
ResultBits = OverflowToInf ? FPInfinity(Sign) : FPMaxNormal(Sign);
|
ResultBits = OverflowToInf ? FPInfinity(Sign) : FPMaxNormal(Sign);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue