-
Notifications
You must be signed in to change notification settings - Fork 319
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FVInt] Add resizing utilities, allow hashing
Add more utilities to help with resizing `FVInt`s, including - counting the active bits for signed and unsigned interpretation - truncation - zero/sign extension Also add a default constructor that produces a zero-bit zero value, allow `FVInt`s to be hashed, and consider bit width for equality comparisons.
- Loading branch information
1 parent
aae791b
commit 1d417e2
Showing
2 changed files
with
63 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters