Home
last modified time | relevance | path

Searched refs:BCG (Results 1 – 10 of 10) sorted by last modified time

/PHP-7.4/ext/bcmath/libbcmath/src/
H A Dzero.c49 if (num == BCG(_zero_)) return TRUE; in bc_is_zero_for_scale()
H A Dstr2num.c64 *num = bc_copy_num (BCG(_zero_)); in bc_str2num()
H A Dinit.c90 BCG(_zero_) = _bc_new_num_ex (1,0,1); in bc_init_numbers()
91 BCG(_one_) = _bc_new_num_ex (1,0,1); in bc_init_numbers()
92 BCG(_one_)->n_value[0] = 1; in bc_init_numbers()
93 BCG(_two_) = _bc_new_num_ex (1,0,1); in bc_init_numbers()
94 BCG(_two_)->n_value[0] = 2; in bc_init_numbers()
113 *num = bc_copy_num (BCG(_zero_)); in bc_init_num()
H A Draise.c66 *result = bc_copy_num (BCG(_one_)); in bc_raise()
111 bc_divide (BCG(_one_), temp, result, rscale); in bc_raise()
H A Draisemod.c76 temp = bc_copy_num (BCG(_one_)); in bc_raisemod()
102 if ( !bc_compare(modulus, BCG(_one_)) ) in bc_raisemod()
111 (void) bc_divmod (exponent, BCG(_two_), &exponent, &parity, 0); in bc_raisemod()
H A Drecmul.c194 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 Dsqrt.c51 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()
84 guess = bc_copy_num (BCG(_one_)); in bc_sqrt()
121 bc_divide (guess,BCG(_one_),num,rscale); in bc_sqrt()
H A Doutput.c136 bc_divide (num, BCG(_one_), &int_part, 0); in bc_out_num()
182 t_num = bc_copy_num (BCG(_one_)); in bc_out_num()
/PHP-7.4/ext/bcmath/
H A Dbcmath.c220 int scale = (int)BCG(bc_precision); in PHP_FUNCTION()
255 int scale = (int)BCG(bc_precision); in PHP_FUNCTION()
290 int scale = (int)BCG(bc_precision); in PHP_FUNCTION()
325 int scale = (int)BCG(bc_precision); in PHP_FUNCTION()
367 int scale = (int)BCG(bc_precision); in PHP_FUNCTION()
408 zend_long scale = BCG(bc_precision); in PHP_FUNCTION()
450 int scale = (int)BCG(bc_precision); in PHP_FUNCTION()
485 int scale = (int)BCG(bc_precision); in PHP_FUNCTION()
518 int scale = (int)BCG(bc_precision); in PHP_FUNCTION()
559 old_scale = BCG(bc_precision); in PHP_FUNCTION()
[all …]
H A Dphp_bcmath.h57 #define BCG(v) ZEND_MODULE_GLOBALS_ACCESSOR(bcmath, v) macro

Completed in 39 milliseconds