Skip to content
This repository has been archived by the owner on Aug 1, 2023. It is now read-only.

Prevent signed ints smearing int UInt256 #75

Merged
merged 1 commit into from May 1, 2020

Conversation

shemnon
Copy link
Contributor

@shemnon shemnon commented May 1, 2020

When using the optimized byte32 path the high bit for the signed bytes
get smeared when they are cast. Also add tests that will fail when such
smearing occurs.

Signed-off-by: Danno Ferrin danno.ferrin@gmail.com

When using the optimized byte32 path the high bit for the signed bytes
get smeared when they are cast.  Also add tests that will fail when such
smearing occurs.

Signed-off-by: Danno Ferrin <danno.ferrin@gmail.com>
@atoulme atoulme merged commit 9221ab4 into apache:master May 1, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants