Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix operators.ORD for BitVecs of size > 8 (#1512)
* Fix operators.ORD for BitVecs of size > 8 TLDR: `ORD(s)` should return something that has 8 bits instead of 7, which it incorrectly did for BitVecs with size>8. Note that the `ORD` still does not support `BitVec`s with size<8, but I am not sure if we need that support for now. To be clear, such situation ends up as an assertion failure that is being done in `BitVecExtract`, so when assertions are gone (for optimized launches) we might want to extend `ORD` to support it. * Add proper ORD fix testcase
- Loading branch information