mirror of
https://github.com/Z3Prover/z3
synced 2025-10-01 05:29:28 +00:00
use std::exception as base class to z3_exception
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
1957b4d991
commit
92065462b4
60 changed files with 109 additions and 111 deletions
|
@ -182,15 +182,15 @@ public:
|
|||
static bool field() { return true; }
|
||||
|
||||
class exception : public z3_exception {
|
||||
char const * msg() const override { return "multi-precision floating point (mpff) exception"; }
|
||||
char const * what() const override { return "multi-precision floating point (mpff) exception"; }
|
||||
};
|
||||
|
||||
class overflow_exception : public exception {
|
||||
char const * msg() const override { return "multi-precision floating point (mpff) overflow"; }
|
||||
char const * what() const override { return "multi-precision floating point (mpff) overflow"; }
|
||||
};
|
||||
|
||||
class div0_exception : public exception {
|
||||
char const * msg() const override { return "multi-precision floating point (mpff) division by zero"; }
|
||||
char const * what() const override { return "multi-precision floating point (mpff) division by zero"; }
|
||||
};
|
||||
|
||||
mpff_manager(unsigned prec = 2, unsigned initial_capacity = 1024);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue