Searched refs:BCG (Results 1 – 10 of 10) sorted by relevance
/PHP-7.2/ext/bcmath/libbcmath/src/ |
H A D | raisemod.c | 59 temp = bc_copy_num (BCG(_one_)); in bc_raisemod() 66 bc_divide (power, BCG(_one_), &power, 0); /*truncate */ in bc_raisemod() 73 bc_divide (exponent, BCG(_one_), &exponent, 0); /*truncate */ in bc_raisemod() 80 bc_divide (modulus, BCG(_one_), &modulus, 0); /*truncate */ in bc_raisemod() 85 if ( !bc_compare(modulus, BCG(_one_)) ) in bc_raisemod() 93 (void) bc_divmod (exponent, BCG(_two_), &exponent, &parity, 0); in bc_raisemod()
|
H A D | init.c | 103 BCG(_zero_) = _bc_new_num_ex (1,0,1); in bc_init_numbers() 104 BCG(_one_) = _bc_new_num_ex (1,0,1); in bc_init_numbers() 105 BCG(_one_)->n_value[0] = 1; in bc_init_numbers() 106 BCG(_two_) = _bc_new_num_ex (1,0,1); in bc_init_numbers() 107 BCG(_two_)->n_value[0] = 2; in bc_init_numbers() 126 *num = bc_copy_num (BCG(_zero_)); in bc_init_num()
|
H A D | sqrt.c | 52 cmp_res = bc_compare (*num, BCG(_zero_)); in bc_sqrt() 60 *num = bc_copy_num (BCG(_zero_)); in bc_sqrt() 64 cmp_res = bc_compare (*num, BCG(_one_)); in bc_sqrt() 68 *num = bc_copy_num (BCG(_one_)); in bc_sqrt() 85 guess = bc_copy_num (BCG(_one_)); in bc_sqrt() 122 bc_divide (guess,BCG(_one_),num,rscale); in bc_sqrt()
|
H A D | raise.c | 67 *result = bc_copy_num (BCG(_one_)); in bc_raise() 112 bc_divide (BCG(_one_), temp, result, rscale); in bc_raise()
|
H A D | recmul.c | 194 u1 = bc_copy_num (BCG(_zero_)); in _bc_rec_mul() 201 v1 = bc_copy_num (BCG(_zero_)); in _bc_rec_mul() 226 m1 = bc_copy_num (BCG(_zero_)); in _bc_rec_mul() 231 m2 = bc_copy_num (BCG(_zero_)); in _bc_rec_mul() 236 m3 = bc_copy_num (BCG(_zero_)); in _bc_rec_mul()
|
H A D | zero.c | 50 if (num == BCG(_zero_)) return TRUE; in bc_is_zero()
|
H A D | output.c | 137 bc_divide (num, BCG(_one_), &int_part, 0); in bc_out_num() 183 t_num = bc_copy_num (BCG(_one_)); in bc_out_num()
|
H A D | str2num.c | 65 *num = bc_copy_num (BCG(_zero_)); in bc_str2num()
|
/PHP-7.2/ext/bcmath/ |
H A D | bcmath.c | 233 int scale = (int)BCG(bc_precision); in PHP_FUNCTION() 273 int scale = (int)BCG(bc_precision); in PHP_FUNCTION() 313 int scale = (int)BCG(bc_precision); in PHP_FUNCTION() 353 int scale = (int)BCG(bc_precision); in PHP_FUNCTION() 399 int scale = (int)BCG(bc_precision); in PHP_FUNCTION() 444 zend_long scale = BCG(bc_precision); in PHP_FUNCTION() 490 int scale = (int)BCG(bc_precision); in PHP_FUNCTION() 530 int scale = (int)BCG(bc_precision); in PHP_FUNCTION() 567 int scale = (int)BCG(bc_precision); in PHP_FUNCTION() 603 BCG(bc_precision) = ((int)new_scale < 0) ? 0 : new_scale; in PHP_FUNCTION()
|
H A D | php_bcmath.h | 59 #define BCG(v) ZEND_MODULE_GLOBALS_ACCESSOR(bcmath, v) macro
|
Completed in 12 milliseconds