We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f904f14 commit 3fe8482Copy full SHA for 3fe8482
lib/smack/Prelude.cpp
@@ -1590,10 +1590,10 @@ void FpOpGen::generateConvOps(std::stringstream &s) const {
1590
auto exp = FP_LAYOUT.at(bw).first;
1591
auto sig = FP_LAYOUT.at(bw).second;
1592
std::string type = getFpTypeName(bw);
1593
- s << uninterpretedOp("$fpext", {type, name}, makeFpVars(1, 0), name) << "\n";
1594
- s << uninterpretedOp("$fptrunc", {type, name}, makeFpVars(1, 0), name) << "\n";
1595
- s << uninterpretedOp("$fpext", {name, type}, makeFpVars(1, 0), type) << "\n";
1596
- s << uninterpretedOp("$fptrunc", {name, type}, makeFpVars(1, 0), type) << "\n";
+ s << uninterpretedOp("$fpext", {type, "float"}, makeFpVars(1, 0), name) << "\n";
+ s << uninterpretedOp("$fptrunc", {type, "float"}, makeFpVars(1, 0), name) << "\n";
+ s << uninterpretedOp("$fpext", {"float", type}, makeFpVars(1, 0), type) << "\n";
+ s << uninterpretedOp("$fptrunc", {"float", type}, makeFpVars(1, 0), type) << "\n";
1597
}
1598
1599
0 commit comments