-
Notifications
You must be signed in to change notification settings - Fork 122
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
Add float_compose to complement float_decompose #747
base: sail2
Are you sure you want to change the base?
Conversation
See riscv/sail-riscv#594 (comment) for motivation. |
Would probably be good to get this merged as more and more of the float library code comes together. |
This can be useful for example to make a generic canonical_NaN() function.
b9d9e51
to
f4e59fe
Compare
Rebased. I did also try adding an SMT test:
I don't think
I also tried with just one bit size:
But unfortunately it runs into an unimplemented case:
After implementing that (#860), it seems to still have issues.
Maybe my implementation of |
Oh actually the issue with the
Slightly worrying that z3 has what appear to be fatal errors but then it just carries on anyway! |
This can be useful for example to make a generic canonical_NaN() function.