mirror of
				https://github.com/Z3Prover/z3
				synced 2025-11-04 13:29:11 +00:00 
			
		
		
		
	Renaming for consistency mk_value -> mk_numeral
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
This commit is contained in:
		
							parent
							
								
									c5b220cc12
								
							
						
					
					
						commit
						c0bc2518b0
					
				
					 8 changed files with 73 additions and 73 deletions
				
			
		| 
						 | 
				
			
			@ -647,11 +647,11 @@ namespace smt {
 | 
			
		|||
                wrapped = wrap(n);
 | 
			
		||||
                mpf_rounding_mode rm;
 | 
			
		||||
                scoped_mpf val(mpfm);
 | 
			
		||||
                if (m_fpa_util.is_rm_value(n, rm)) {
 | 
			
		||||
                if (m_fpa_util.is_rm_numeral(n, rm)) {
 | 
			
		||||
                    c = m.mk_eq(wrapped, m_bv_util.mk_numeral(rm, 3));                    
 | 
			
		||||
                    assert_cnstr(c);
 | 
			
		||||
                }
 | 
			
		||||
                else if (m_fpa_util.is_value(n, val)) {
 | 
			
		||||
                else if (m_fpa_util.is_numeral(n, val)) {
 | 
			
		||||
                    unsigned sz = val.get().get_ebits() + val.get().get_sbits();
 | 
			
		||||
                    expr_ref bv_val_e(m);
 | 
			
		||||
                    bv_val_e = convert(n);
 | 
			
		||||
| 
						 | 
				
			
			@ -714,8 +714,8 @@ namespace smt {
 | 
			
		|||
        // If the owner is not internalized, it doesn't have an enode associated.        
 | 
			
		||||
        SASSERT(ctx.e_internalized(owner));
 | 
			
		||||
        
 | 
			
		||||
        if (m_fpa_util.is_rm_value(owner) ||
 | 
			
		||||
            m_fpa_util.is_value(owner))
 | 
			
		||||
        if (m_fpa_util.is_rm_numeral(owner) ||
 | 
			
		||||
            m_fpa_util.is_numeral(owner))
 | 
			
		||||
            return alloc(expr_wrapper_proc, owner);
 | 
			
		||||
        
 | 
			
		||||
        model_value_proc * res = 0;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue