mirror of
https://github.com/Z3Prover/z3
synced 2025-08-01 08:53:18 +00:00
parent
e32020ba10
commit
e45871d7c5
5 changed files with 51 additions and 57 deletions
|
@ -53,7 +53,8 @@ class ll_printer {
|
|||
rational val;
|
||||
bool is_int;
|
||||
if (m_autil.is_numeral(n, val, is_int)) {
|
||||
m_out << val << "::" << (is_int ? "Int" : "Real");
|
||||
m_out << val;
|
||||
if (!is_int && val.is_int()) m_out << ".0";
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue