We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue can be easily tested with this snippet:
double d = 1E+20d; UInt256 u = (UInt256)d; Console.WriteLine(u); // 0
The text was updated successfully, but these errors were encountered:
The problem goes deeper to Lsh(in UInt256 x, int n, out UInt256 res) when in and out params are the same
Lsh(in UInt256 x, int n, out UInt256 res)
var u = new UInt256(1); UInt256.Lsh(in u, 1, out u); Console.WriteLine(u); // 0
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Issue can be easily tested with this snippet:
The text was updated successfully, but these errors were encountered: