Home
last modified time | relevance | path

Searched refs:BCG (Results 1 – 10 of 10) sorted by relevance

/PHP-7.3/ext/bcmath/libbcmath/src/
H A Dinit.c91 BCG(_zero_) = _bc_new_num_ex (1,0,1); in bc_init_numbers()
92 BCG(_one_) = _bc_new_num_ex (1,0,1); in bc_init_numbers()
93 BCG(_one_)->n_value[0] = 1; in bc_init_numbers()
94 BCG(_two_) = _bc_new_num_ex (1,0,1); in bc_init_numbers()
95 BCG(_two_)->n_value[0] = 2; in bc_init_numbers()
114 *num = bc_copy_num (BCG(_zero_)); in bc_init_num()
H A Dsqrt.c52 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 Draisemod.c77 temp = bc_copy_num (BCG(_one_)); in bc_raisemod()
103 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 Draise.c67 *result = bc_copy_num (BCG(_one_)); in bc_raise()
112 bc_divide (BCG(_one_), temp, result, rscale); in bc_raise()
H A Dzero.c50 if (num == BCG(_zero_)) return TRUE; in bc_is_zero()
H A Doutput.c137 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 Dstr2num.c65 *num = bc_copy_num (BCG(_zero_)); in bc_str2num()
/PHP-7.3/ext/bcmath/
H A Dbcmath.c216 int scale = (int)BCG(bc_precision); in PHP_FUNCTION()
251 int scale = (int)BCG(bc_precision); in PHP_FUNCTION()
286 int scale = (int)BCG(bc_precision); in PHP_FUNCTION()
321 int scale = (int)BCG(bc_precision); in PHP_FUNCTION()
363 int scale = (int)BCG(bc_precision); in PHP_FUNCTION()
404 zend_long scale = BCG(bc_precision); in PHP_FUNCTION()
446 int scale = (int)BCG(bc_precision); in PHP_FUNCTION()
481 int scale = (int)BCG(bc_precision); in PHP_FUNCTION()
514 int scale = (int)BCG(bc_precision); in PHP_FUNCTION()
551 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 15 milliseconds