Unsigned int to FP conversion in FPBV
Issue #25
resolved
From @inkytonik:
One of the SVCOMP float benchmarks has this code:
%2 = tail call zeroext i8 @__VERIFIER_nondet_uchar() #2, !dbg !11
%3 = uitofp i8 %2 to float, !dbg !12
At the moment, it is unclear on how to represent the effect of the uitofp
conversion.
Does ScalaSMT have a way to encode this?
Comments (8)
-
reporter -
reporter Add term tests for conversion from bitStringBV to FPBV and signedBV to FPBV.
→ <<cset 8a3c1520e593>>
-
reporter Fix tests using toFPBV for BVTerm as they now have to use either bitStringFPBV or signedFPBV (the latter requires a rounding mode).
→ <<cset 48c765f983a8>>
-
reporter Add tests for conversion from BV to FPBV, bitStringToFPBv and signedToFPBV.
→ <<cset 405294c12079>>
-
reporter -
reporter resolved. see
#10. -
reporter - changed status to resolved
see
#10 -
reporter Fix return type of toUBV/toSBV and add simple tests using them.
→ <<cset 1bac73d97524>>
- Log in to comment
Implement conversion from bitStringBV to FPBV and signedBV to FPBV.
see
#10see#25→ <<cset fd743d1be59c>>