Skip to content

Commit

Permalink
Fix bug in NaN interpretation
Browse files Browse the repository at this point in the history
References #25
  • Loading branch information
andreashuber-lawo committed May 23, 2016
1 parent 5772696 commit a508183
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Lawo.EmberPlusSharp/Ember/EmberReader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,7 @@ private static double ReadReal(ReadBuffer readBuffer, int length)
{
return signBits == 0 ? double.PositiveInfinity : double.NegativeInfinity;
}
else if (mantissa == Constants.DoubleMantissaMask)
else
{
return double.NaN;
}
Expand Down

0 comments on commit a508183

Please sign in to comment.