mirror of
https://github.com/Z3Prover/z3
synced 2025-08-25 12:35:59 +00:00
reorganizing the code
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
b89d35dd69
commit
9e299b88c4
101 changed files with 16 additions and 16 deletions
43
src/math/subpaving/subpaving_mpq.h
Normal file
43
src/math/subpaving/subpaving_mpq.h
Normal file
|
@ -0,0 +1,43 @@
|
|||
/*++
|
||||
Copyright (c) 2012 Microsoft Corporation
|
||||
|
||||
Module Name:
|
||||
|
||||
subpaving_mpq.h
|
||||
|
||||
Abstract:
|
||||
|
||||
Subpaving for non-linear arithmetic using rationals
|
||||
|
||||
Author:
|
||||
|
||||
Leonardo de Moura (leonardo) 2012-07-31.
|
||||
|
||||
Revision History:
|
||||
|
||||
--*/
|
||||
#ifndef __SUBPAVING_MPQ_H_
|
||||
#define __SUBPAVING_MPQ_H_
|
||||
|
||||
#include"subpaving_t.h"
|
||||
#include"mpq.h"
|
||||
|
||||
namespace subpaving {
|
||||
|
||||
struct config_mpq {
|
||||
typedef unsynch_mpq_manager numeral_manager;
|
||||
struct exception {};
|
||||
|
||||
static void round_to_minus_inf(numeral_manager & m) {}
|
||||
static void round_to_plus_inf(numeral_manager & m) {}
|
||||
static void set_rounding(numeral_manager & m, bool to_plus_info) {}
|
||||
numeral_manager & m_manager;
|
||||
config_mpq(numeral_manager & m):m_manager(m) {}
|
||||
numeral_manager & m() const { return m_manager; }
|
||||
};
|
||||
|
||||
typedef context_t<config_mpq> context_mpq;
|
||||
|
||||
};
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue