Searched defs:num1 (Results 1 - 5 of 5) sorted by relevance

/PHP_5_6/ext/bcmath/libbcmath/src/
H A Ddiv.c91 unsigned char *num1, *num2; local
130 num1 = (unsigned char *) safe_emalloc (1, n1->n_len+n1->n_scale, extra+2);
131 if (num1 == NULL) bc_out_of_memory();
132 memset (num1, 0, n1->n_len+n1->n_scale+extra+2);
133 memcpy (num1+1, n1->n_value, n1->n_len+n1->n_scale);
177 _one_mult (num1, len1+scale1+extra+1, norm, num1);
192 if (*n2ptr == num1[qdig])
195 qguess = (num1[qdig]*10 + num1[qdi
[all...]
H A Ddivmod.c48 bc_divmod (bc_num num1, bc_num num2, bc_num *quot, bc_num *rem, int scale TSRMLS_DC) argument
58 rscale = MAX (num1->n_scale, num2->n_scale+scale);
62 bc_divide (num1, num2, &temp, scale TSRMLS_CC);
66 bc_sub (num1, temp, rem, rscale);
83 bc_modulo (bc_num num1, bc_num num2, bc_num *result, int scale TSRMLS_DC) argument
85 return bc_divmod (num1, num2, NULL, result, scale TSRMLS_CC);
H A Draise.c47 bc_raise (bc_num num1, bc_num num2, bc_num *result, int scale TSRMLS_DC) argument
81 rscale = MIN (num1->n_scale*exponent, MAX(scale, num1->n_scale));
85 power = bc_copy_num (num1);
86 pwrscale = num1->n_scale;
/PHP_5_6/ext/intl/collator/
H A Dcollator_sort.c62 zval* num1 = NULL; local
70 ( str1 == ( num1 = collator_convert_string_to_number_if_possible( str1 ) ) ||
93 /* num1 is set if str1 and str2 are strings. */
94 if( num1 )
96 if( num1 == str1 )
109 zval_add_ref( &num1 );
110 norm1 = num1;
119 /* num1 is not set if str1 or str2 is not a string => do normalization. */
122 /* if num1 is not set then num2 is not set as well => do normalization. */
132 if( num1 )
151 zval* num1 = NULL; local
[all...]
/PHP_5_6/ext/standard/
H A Dmath.c463 double num1, num2; local
465 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd", &num1, &num2) == FAILURE) {
468 RETURN_DOUBLE(atan2(num1, num2));
709 /* {{{ proto float hypot(float num1, float num2)
710 Returns sqrt(num1*num1 + num2*num2) */
713 double num1, num2; local
715 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd", &num1, &num2) == FAILURE) {
719 RETURN_DOUBLE(hypot(num1, num2));
721 RETURN_DOUBLE(_hypot(num1, num
1241 double num1, num2; local
[all...]

Completed in 33 milliseconds