3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-10-01 05:29:28 +00:00

add noexcept

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2024-11-04 11:21:55 -08:00
parent 42894f729a
commit 407bad3693
4 changed files with 8 additions and 8 deletions

View file

@ -182,15 +182,15 @@ public:
static bool field() { return true; }
class exception : public z3_exception {
char const * what() const override { return "multi-precision floating point (mpff) exception"; }
char const * what() const noexcept override { return "multi-precision floating point (mpff) exception"; }
};
class overflow_exception : public exception {
char const * what() const override { return "multi-precision floating point (mpff) overflow"; }
char const * what() const noexcept override { return "multi-precision floating point (mpff) overflow"; }
};
class div0_exception : public exception {
char const * what() const override { return "multi-precision floating point (mpff) division by zero"; }
char const * what() const noexcept override { return "multi-precision floating point (mpff) division by zero"; }
};
mpff_manager(unsigned prec = 2, unsigned initial_capacity = 1024);