Skip to content

Commit 3fe8482

Browse files
committed
update
1 parent f904f14 commit 3fe8482

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lib/smack/Prelude.cpp

+4-4
Original file line numberDiff line numberDiff line change
@@ -1590,10 +1590,10 @@ void FpOpGen::generateConvOps(std::stringstream &s) const {
15901590
auto exp = FP_LAYOUT.at(bw).first;
15911591
auto sig = FP_LAYOUT.at(bw).second;
15921592
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";
1593+
s << uninterpretedOp("$fpext", {type, "float"}, makeFpVars(1, 0), name) << "\n";
1594+
s << uninterpretedOp("$fptrunc", {type, "float"}, makeFpVars(1, 0), name) << "\n";
1595+
s << uninterpretedOp("$fpext", {"float", type}, makeFpVars(1, 0), type) << "\n";
1596+
s << uninterpretedOp("$fptrunc", {"float", type}, makeFpVars(1, 0), type) << "\n";
15971597
}
15981598
}
15991599
}

0 commit comments

Comments
 (0)