mirror of
				https://github.com/Z3Prover/z3
				synced 2025-10-31 11:42:28 +00:00 
			
		
		
		
	put mpz_cell under ifdef _NO_GMP
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
		
							parent
							
								
									6981918c33
								
							
						
					
					
						commit
						810d63c246
					
				
					 2 changed files with 17 additions and 11 deletions
				
			
		|  | @ -183,6 +183,13 @@ class mpz_manager { | |||
| 
 | ||||
|     void clear(mpz& n) { } | ||||
| 
 | ||||
|     /**
 | ||||
|        \brief Set \c a with the value stored at src, and the given sign. | ||||
|        \c sz is an overapproximation of the size of the number stored at \c src. | ||||
|     */ | ||||
|     void set(mpz_cell& src, mpz & a, int sign, unsigned sz);  | ||||
| 
 | ||||
| 
 | ||||
| #else | ||||
|     // GMP code
 | ||||
|     mpz_t     m_tmp, m_tmp2; | ||||
|  | @ -215,11 +222,6 @@ class mpz_manager { | |||
| 
 | ||||
|     mpz                     m_two64; | ||||
| 
 | ||||
|     /**
 | ||||
|        \brief Set \c a with the value stored at src, and the given sign. | ||||
|        \c sz is an overapproximation of the size of the number stored at \c src. | ||||
|     */ | ||||
|     void set(mpz_cell& src, mpz & a, int sign, unsigned sz);  | ||||
| 
 | ||||
|     static int64_t i64(mpz const & a) { return static_cast<int64_t>(a.m_val); } | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue