Searched refs:BCG (Results 1 – 11 of 11) sorted by relevance
/php-src/ext/bcmath/libbcmath/src/ |
H A D | init.c | 82 BCG(_zero_) = _bc_new_num_ex(1, 0, 1); in bc_init_numbers() 83 BCG(_one_) = _bc_new_num_ex(1, 0, 1); in bc_init_numbers() 84 BCG(_one_)->n_value[0] = 1; in bc_init_numbers() 85 BCG(_two_) = _bc_new_num_ex(1, 0, 1); in bc_init_numbers() 86 BCG(_two_)->n_value[0] = 2; in bc_init_numbers() 93 *num = bc_copy_num(BCG(_zero_)); in bc_init_num()
|
H A D | sqrt.c | 42 int cmp_res = bc_compare(*num, BCG(_zero_)); in bc_sqrt() 48 *num = bc_copy_num(BCG(_zero_)); in bc_sqrt() 52 cmp_res = bc_compare(*num, BCG(_one_)); in bc_sqrt() 55 *num = bc_copy_num(BCG(_one_)); in bc_sqrt() 74 guess = bc_copy_num(BCG(_one_)); in bc_sqrt() 109 bc_divide(guess, BCG(_one_), num, rscale); in bc_sqrt()
|
H A D | raisemod.c | 64 temp = bc_copy_num(BCG(_one_)); in bc_raisemod() 68 if (!bc_compare(modulus, BCG(_one_))) { in bc_raisemod() 73 (void) bc_divmod(exponent, BCG(_two_), &exponent, &parity, 0); in bc_raisemod()
|
H A D | recmul.c | 184 u1 = bc_copy_num(BCG(_zero_)); in _bc_rec_mul() 191 v1 = bc_copy_num(BCG(_zero_)); in _bc_rec_mul() 212 m1 = bc_copy_num(BCG(_zero_)); in _bc_rec_mul() 218 m2 = bc_copy_num(BCG(_zero_)); in _bc_rec_mul() 224 m3 = bc_copy_num(BCG(_zero_)); in _bc_rec_mul()
|
H A D | raise.c | 53 *result = bc_copy_num(BCG(_one_)); in bc_raise() 92 bc_divide(BCG(_one_), temp, result, rscale); in bc_raise()
|
H A D | str2num.c | 180 *num = bc_copy_num(BCG(_zero_)); in bc_str2num() 184 *num = bc_copy_num(BCG(_zero_)); in bc_str2num()
|
H A D | zero.c | 44 if (num == BCG(_zero_)) { in bc_is_zero_for_scale()
|
H A D | round.c | 37 *result = bc_copy_num(BCG(_zero_)); in bc_round() 64 *result = bc_copy_num(BCG(_zero_)); in bc_round()
|
H A D | floor_or_ceil.c | 50 bc_num tmp = _bc_do_add(result, BCG(_one_), 0); in bc_floor_or_ceil()
|
/php-src/ext/bcmath/ |
H A D | bcmath.c | 162 scale = BCG(bc_precision); in PHP_FUNCTION() 209 scale = BCG(bc_precision); in PHP_FUNCTION() 256 scale = BCG(bc_precision); in PHP_FUNCTION() 293 int scale = BCG(bc_precision); in PHP_FUNCTION() 303 scale = BCG(bc_precision); in PHP_FUNCTION() 345 int scale = BCG(bc_precision); in PHP_FUNCTION() 355 scale = BCG(bc_precision); in PHP_FUNCTION() 408 scale = BCG(bc_precision); in PHP_FUNCTION() 482 scale = BCG(bc_precision); in PHP_FUNCTION() 541 scale = BCG(bc_precision); in PHP_FUNCTION() [all …]
|
H A D | php_bcmath.h | 42 #define BCG(v) ZEND_MODULE_GLOBALS_ACCESSOR(bcmath, v) macro
|
Completed in 42 milliseconds