Home
last modified time | relevance | path

Searched refs:num1 (Results 1 – 7 of 7) sorted by relevance

/PHP-5.6/ext/bcmath/libbcmath/src/
H A Ddiv.c91 unsigned char *num1, *num2; in bc_divide() local
131 if (num1 == NULL) bc_out_of_memory(); in bc_divide()
177 _one_mult (num1, len1+scale1+extra+1, norm, num1); in bc_divide()
192 if (*n2ptr == num1[qdig]) in bc_divide()
195 qguess = (num1[qdig]*10 + num1[qdig+1]) / *n2ptr; in bc_divide()
199 (num1[qdig]*10 + num1[qdig+1] - *n2ptr*qguess)*10 in bc_divide()
200 + num1[qdig+2]) in bc_divide()
205 (num1[qdig]*10 + num1[qdig+1] - *n2ptr*qguess)*10 in bc_divide()
206 + num1[qdig+2]) in bc_divide()
216 ptr1 = (unsigned char *) num1+qdig+len2; in bc_divide()
[all …]
H A Ddivmod.c48 bc_divmod (bc_num num1, bc_num num2, bc_num *quot, bc_num *rem, int scale TSRMLS_DC) in bc_divmod() argument
58 rscale = MAX (num1->n_scale, num2->n_scale+scale); in bc_divmod()
62 bc_divide (num1, num2, &temp, scale TSRMLS_CC); in bc_divmod()
66 bc_sub (num1, temp, rem, rscale); in bc_divmod()
83 bc_modulo (bc_num num1, bc_num num2, bc_num *result, int scale TSRMLS_DC) in bc_modulo() argument
85 return bc_divmod (num1, num2, NULL, result, scale TSRMLS_CC); in bc_modulo()
H A Draise.c47 bc_raise (bc_num num1, bc_num num2, bc_num *result, int scale TSRMLS_DC) in bc_raise() argument
81 rscale = MIN (num1->n_scale*exponent, MAX(scale, num1->n_scale)); in bc_raise()
85 power = bc_copy_num (num1); in bc_raise()
86 pwrscale = num1->n_scale; in bc_raise()
H A Dbcmath.h136 _PROTOTYPE(int bc_modulo, (bc_num num1, bc_num num2, bc_num *result,
139 _PROTOTYPE(int bc_divmod, (bc_num num1, bc_num num2, bc_num *quot,
145 _PROTOTYPE(void bc_raise, (bc_num num1, bc_num num2, bc_num *result,
/PHP-5.6/ext/intl/collator/
H A Dcollator_sort.c62 zval* num1 = NULL; in collator_regular_compare_function() local
94 if( num1 ) in collator_regular_compare_function()
96 if( num1 == str1 ) in collator_regular_compare_function()
109 zval_add_ref( &num1 ); in collator_regular_compare_function()
110 norm1 = num1; in collator_regular_compare_function()
132 if( num1 ) in collator_regular_compare_function()
133 zval_ptr_dtor( &num1 ); in collator_regular_compare_function()
151 zval* num1 = NULL; in collator_numeric_compare_function() local
157 op1 = num1; in collator_numeric_compare_function()
168 if( num1 ) in collator_numeric_compare_function()
[all …]
/PHP-5.6/ext/standard/
H A Dmath.c477 double num1, num2; in PHP_FUNCTION() local
479 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd", &num1, &num2) == FAILURE) { in PHP_FUNCTION()
482 RETURN_DOUBLE(atan2(num1, num2)); in PHP_FUNCTION()
727 double num1, num2; in PHP_FUNCTION() local
729 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd", &num1, &num2) == FAILURE) { in PHP_FUNCTION()
733 RETURN_DOUBLE(hypot(num1, num2)); in PHP_FUNCTION()
735 RETURN_DOUBLE(_hypot(num1, num2)); in PHP_FUNCTION()
737 RETURN_DOUBLE(sqrt((num1 * num1) + (num2 * num2))); in PHP_FUNCTION()
1267 double num1, num2; in PHP_FUNCTION() local
1269 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd", &num1, &num2) == FAILURE) { in PHP_FUNCTION()
[all …]
H A Dbasic_functions.c1723 ZEND_ARG_INFO(0, num1)

Completed in 55 milliseconds