Searched refs:BCG (Results 1 – 10 of 10) sorted by relevance
/PHP-8.1/ext/bcmath/libbcmath/src/ |
H A D | init.c | 86 BCG(_zero_) = _bc_new_num_ex (1,0,1); in bc_init_numbers() 87 BCG(_one_) = _bc_new_num_ex (1,0,1); in bc_init_numbers() 88 BCG(_one_)->n_value[0] = 1; in bc_init_numbers() 89 BCG(_two_) = _bc_new_num_ex (1,0,1); in bc_init_numbers() 90 BCG(_two_)->n_value[0] = 2; in bc_init_numbers() 109 *num = bc_copy_num (BCG(_zero_)); in bc_init_num()
|
H A D | sqrt.c | 51 cmp_res = bc_compare (*num, BCG(_zero_)); in bc_sqrt() 59 *num = bc_copy_num (BCG(_zero_)); in bc_sqrt() 63 cmp_res = bc_compare (*num, BCG(_one_)); in bc_sqrt() 67 *num = bc_copy_num (BCG(_one_)); in bc_sqrt() 83 guess = bc_copy_num (BCG(_one_)); in bc_sqrt() 121 bc_divide (guess,BCG(_one_),num,rscale); in bc_sqrt()
|
H A D | raisemod.c | 79 temp = bc_copy_num (BCG(_one_)); in bc_raisemod() 84 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 | raise.c | 72 *result = bc_copy_num (BCG(_one_)); in bc_raise() 117 bc_divide (BCG(_one_), temp, result, rscale); in bc_raise()
|
H A D | recmul.c | 191 u1 = bc_copy_num (BCG(_zero_)); in _bc_rec_mul() 198 v1 = bc_copy_num (BCG(_zero_)); in _bc_rec_mul() 223 m1 = bc_copy_num (BCG(_zero_)); in _bc_rec_mul() 228 m2 = bc_copy_num (BCG(_zero_)); in _bc_rec_mul() 233 m3 = bc_copy_num (BCG(_zero_)); in _bc_rec_mul()
|
H A D | zero.c | 49 if (num == BCG(_zero_)) return TRUE; in bc_is_zero_for_scale()
|
H A D | output.c | 124 bc_divide (num, BCG(_one_), &int_part, 0); in bc_out_num() 170 t_num = bc_copy_num (BCG(_one_)); in bc_out_num()
|
H A D | str2num.c | 64 *num = bc_copy_num (BCG(_zero_)); in bc_str2num()
|
/PHP-8.1/ext/bcmath/ |
H A D | bcmath.c | 169 scale = BCG(bc_precision); in PHP_FUNCTION() 220 scale = BCG(bc_precision); in PHP_FUNCTION() 271 scale = BCG(bc_precision); in PHP_FUNCTION() 312 int scale = BCG(bc_precision); in PHP_FUNCTION() 322 scale = BCG(bc_precision); in PHP_FUNCTION() 368 int scale = BCG(bc_precision); in PHP_FUNCTION() 378 scale = BCG(bc_precision); in PHP_FUNCTION() 435 scale = BCG(bc_precision); in PHP_FUNCTION() 493 scale = BCG(bc_precision); in PHP_FUNCTION() 543 scale = BCG(bc_precision); in PHP_FUNCTION() [all …]
|
H A D | php_bcmath.h | 44 #define BCG(v) ZEND_MODULE_GLOBALS_ACCESSOR(bcmath, v) macro
|
Completed in 50 milliseconds