mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	Move rb_big_isqrt declaration
This commit is contained in:
		
							parent
							
								
									367b5100d4
								
							
						
					
					
						commit
						25d506a318
					
				
				
				Notes:
				
					git
				
				2021-01-31 09:24:22 +09:00 
				
			
			
			
		
		
					 2 changed files with 1 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -131,6 +131,7 @@ VALUE rb_big_ge(VALUE x, VALUE y);
 | 
			
		|||
VALUE rb_big_lt(VALUE x, VALUE y);
 | 
			
		||||
VALUE rb_big_le(VALUE x, VALUE y);
 | 
			
		||||
VALUE rb_int_powm(int const argc, VALUE * const argv, VALUE const num);
 | 
			
		||||
VALUE rb_big_isqrt(VALUE n);
 | 
			
		||||
static inline bool BIGNUM_SIGN(VALUE b);
 | 
			
		||||
static inline bool BIGNUM_POSITIVE_P(VALUE b);
 | 
			
		||||
static inline bool BIGNUM_NEGATIVE_P(VALUE b);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -5269,8 +5269,6 @@ DEFINE_INT_SQRT(BDIGIT, rb_bdigit_dbl, BDIGIT_DBL)
 | 
			
		|||
#define domain_error(msg) \
 | 
			
		||||
    rb_raise(rb_eMathDomainError, "Numerical argument is out of domain - " #msg)
 | 
			
		||||
 | 
			
		||||
VALUE rb_big_isqrt(VALUE);
 | 
			
		||||
 | 
			
		||||
/*
 | 
			
		||||
 *  Document-method: Integer::sqrt
 | 
			
		||||
 *  call-seq:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue