Skip to content
New issue

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

rounder: Fix invalid creation of zero-size bit-vector. #9

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

aniemetz
Copy link

@aniemetz aniemetz commented Sep 9, 2022

Fixes #8.

This fixes an issue where the rounder attempts to generate a bit-vector of size 0 in fixedPositionRound() when converting an FP to an unsigned BV of size 1.

This was tested for both Bitwuzla and cvc5 (against with/without patch and against Z3) on all *FP* benchmarks in SMT-LIB, and with Murxla.

Fixes martin-cs#8.

This fixes an issue where the rounder attempts to generate a bit-vector
of size 0 in fixedPositionRound() when converting an FP to an unsigned
BV of size 1.
aniemetz added a commit to cvc5/symfpu that referenced this pull request Jun 27, 2023
This fixes an issue where the rounder attempts to generate a bit-vector
of size 0 in fixedPositionRound() when converting an FP to an unsigned
BV of size 1.

This has been submitted as PR
martin-cs#9.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SymFPU attempts to generate bit-vector of size 0 in fp.to_ubv of size 1.
1 participant