Closed stillgreyfox closed 5 years ago
Found a bug with the bit clearing logic.
Using XOR in WriteBool() when the value is 'false' / clearing a bit within a word can result in a bit toggle, rather than a clear.
Also, replaced all the Math.Pow() calls with simple bit shifting <<
Pull request will be filed after this issue.
Found a bug with the bit clearing logic.
Using XOR in WriteBool() when the value is 'false' / clearing a bit within a word can result in a bit toggle, rather than a clear.
Also, replaced all the Math.Pow() calls with simple bit shifting <<
Pull request will be filed after this issue.