mirror of
https://github.com/Z3Prover/z3
synced 2025-04-29 11:55:51 +00:00
Add support for transcendental values such as pi and e, and the power operator
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
ae1da72cb7
commit
ecb58091f7
4 changed files with 153 additions and 12 deletions
|
@ -85,6 +85,16 @@ namespace realclosure {
|
|||
void mk_transcendental(char const * name, mk_interval & proc, numeral & r);
|
||||
void mk_transcendental(mk_interval & proc, numeral & r);
|
||||
|
||||
/**
|
||||
\brief r <- pi
|
||||
*/
|
||||
void mk_pi(numeral & r);
|
||||
|
||||
/**
|
||||
\brief r <- e (Euler's constant)
|
||||
*/
|
||||
void mk_e(numeral & r);
|
||||
|
||||
/**
|
||||
\brief Isolate the roots of the univariate polynomial as[0] + as[1]*x + ... + as[n-1]*x^{n-1}
|
||||
The roots are stored in \c roots.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue