Home
last modified time | relevance | path

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

/PHP-8.2/ext/bcmath/libbcmath/src/
H A Dinit.c86 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 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()
83 guess = bc_copy_num (BCG(_one_)); in bc_sqrt()
121 bc_divide (guess,BCG(_one_),num,rscale); in bc_sqrt()
H A Draisemod.c79 temp = bc_copy_num (BCG(_one_)); in bc_raisemod()
84 if ( !_bc_do_compare(modulus, BCG(_one_), false, false) ) in bc_raisemod()
93 (void) bc_divmod (exponent, BCG(_two_), &exponent, &parity, 0); in bc_raisemod()
H A Draise.c72 *result = bc_copy_num (BCG(_one_)); in bc_raise()
117 bc_divide (BCG(_one_), temp, result, rscale); in bc_raise()
H A Drecmul.c191 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 Dzero.c49 if (num == BCG(_zero_)) return TRUE; in bc_is_zero_for_scale()
H A Doutput.c124 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 Dstr2num.c64 *num = bc_copy_num (BCG(_zero_)); in bc_str2num()
/PHP-8.2/ext/bcmath/
H A Dbcmath.c169 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 Dphp_bcmath.h44 #define BCG(v) ZEND_MODULE_GLOBALS_ACCESSOR(bcmath, v) macro

Completed in 18 milliseconds