mirror of
				https://github.com/Z3Prover/z3
				synced 2025-11-04 13:29:11 +00:00 
			
		
		
		
	Merge pull request #272 from NikolajBjorner/master
Remove old_simplify.bv.hi_div0 option, reconciling it with rewriter.b…
This commit is contained in:
		
						commit
						ced04bc15c
					
				
					 2 changed files with 5 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -18,9 +18,12 @@ Revision History:
 | 
			
		|||
--*/
 | 
			
		||||
#include"bv_simplifier_params.h"
 | 
			
		||||
#include"bv_simplifier_params_helper.hpp"
 | 
			
		||||
#include"bv_rewriter_params.hpp"
 | 
			
		||||
 | 
			
		||||
void bv_simplifier_params::updt_params(params_ref const & _p) {
 | 
			
		||||
    bv_simplifier_params_helper p(_p);
 | 
			
		||||
    m_hi_div0 = p.bv_hi_div0();
 | 
			
		||||
    bv_rewriter_params rp(_p);
 | 
			
		||||
    m_hi_div0 = rp.hi_div0();
 | 
			
		||||
    m_bv2int_distribute = p.bv_bv2int_distribute();
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,6 +1,4 @@
 | 
			
		|||
def_module_params(class_name='bv_simplifier_params_helper',
 | 
			
		||||
                  module_name="old_simplify", # Parameters will be in the old_simplify module
 | 
			
		||||
                  export=True,
 | 
			
		||||
                  params=(
 | 
			
		||||
                          ('bv.hi_div0', BOOL, True, 'if true, then Z3 uses the usual hardware interpretation for division (rem, mod) by zero; otherwise, these operations are considered uninterpreted'),
 | 
			
		||||
                          ('bv.bv2int_distribute', BOOL, True, 'if true, then int2bv is distributed over arithmetical operators')))
 | 
			
		||||
                  params=(('bv.bv2int_distribute', BOOL, True, 'if true, then int2bv is distributed over arithmetical operators'),))
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue