Home
last modified time | relevance | path

Searched refs:num2 (Results 1 – 9 of 9) sorted by relevance

/PHP-5.4/ext/bcmath/libbcmath/src/
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
55 if (bc_is_zero (num2 TSRMLS_CC)) return -1; in bc_divmod()
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()
65 bc_multiply (temp, num2, &temp, rscale TSRMLS_CC); 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
57 if (num2->n_scale != 0) in bc_raise()
59 exponent = bc_num2long (num2); in bc_raise()
60 if (exponent == 0 && (num2->n_len > 1 || num2->n_value[0] != 0)) in bc_raise()
H A Ddiv.c91 unsigned char *num1, *num2; in bc_divide() local
136 num2 = (unsigned char *) safe_emalloc (1, len2, 1); in bc_divide()
137 if (num2 == NULL) bc_out_of_memory(); in bc_divide()
138 memcpy (num2, n2->n_value, len2); in bc_divide()
139 *(num2+len2) = 0; in bc_divide()
140 n2ptr = num2; in bc_divide()
270 efree (num2); in bc_divide()
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.4/ext/intl/collator/
H A Dcollator_sort.c63 zval* num2 = NULL; in collator_regular_compare_function() local
71 str2 == ( num2 = collator_convert_string_to_number_if_possible( str2 ) ) ) ) in collator_regular_compare_function()
112 zval_add_ref( &num2 ); in collator_regular_compare_function()
113 norm2 = num2; in collator_regular_compare_function()
134 if( num2 ) in collator_regular_compare_function()
135 zval_ptr_dtor( &num2 ); in collator_regular_compare_function()
151 zval* num2 = NULL; in collator_numeric_compare_function() local
161 num2 = collator_convert_string_to_double( op2 ); in collator_numeric_compare_function()
162 op2 = num2; in collator_numeric_compare_function()
169 if( num2 ) in collator_numeric_compare_function()
[all …]
/PHP-5.4/ext/standard/
H A Dmath.c463 double num1, num2; in PHP_FUNCTION() local
465 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd", &num1, &num2) == FAILURE) { in PHP_FUNCTION()
468 RETURN_DOUBLE(atan2(num1, num2)); in PHP_FUNCTION()
749 double num1, num2; in PHP_FUNCTION() local
751 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd", &num1, &num2) == FAILURE) { in PHP_FUNCTION()
755 RETURN_DOUBLE(hypot(num1, num2)); in PHP_FUNCTION()
757 RETURN_DOUBLE(_hypot(num1, num2)); in PHP_FUNCTION()
759 RETURN_DOUBLE(sqrt((num1 * num1) + (num2 * num2))); in PHP_FUNCTION()
1277 double num1, num2; in PHP_FUNCTION() local
1279 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd", &num1, &num2) == FAILURE) { in PHP_FUNCTION()
[all …]
H A Dbasic_functions.c1752 ZEND_ARG_INFO(0, num2)
/PHP-5.4/ext/standard/tests/serialize/
H A Dprecision.phpt29 $num2 = unserialize(serialize($num));
30 $repr = unpack("H*", pack("d", $num2)); $repr = reset($repr);
/PHP-5.4/Zend/
H A Dmicro_bench.php266 $num2 = number_format($last_time - $overhead,3);
267 echo $name.$pad.$num." ".$num2."\n";

Completed in 28 milliseconds