3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-06-29 17:38:45 +00:00

logging meaning of theory specific constants

This commit is contained in:
Nils Becker 2018-12-03 22:39:29 +01:00 committed by nilsbecker
parent 988e8afc2e
commit 0870760eb5
7 changed files with 102 additions and 6 deletions

View file

@ -92,7 +92,13 @@ func_decl * fpa_decl_plugin::mk_numeral_decl(mpf const & v) {
}
app * fpa_decl_plugin::mk_numeral(mpf const & v) {
return m_manager->mk_const(mk_numeral_decl(v));
app * r = m_manager->mk_const(mk_numeral_decl(v));
if (log_constant_meaning_prelude(r)) {
m_manager->trace_stream() << "(" << m_fm.to_string(v) << ")\n";
}
return r;
}
bool fpa_decl_plugin::is_numeral(expr * n, mpf & val) {