Searched refs:num2 (Results 1 – 9 of 9) sorted by relevance
/PHP-5.6/ext/bcmath/libbcmath/src/ |
H A D | divmod.c | 48 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 D | raise.c | 47 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 D | div.c | 91 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 D | bcmath.h | 136 _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 D | collator_sort.c | 63 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() 113 zval_add_ref( &num2 ); in collator_regular_compare_function() 114 norm2 = num2; in collator_regular_compare_function() 135 if( num2 ) in collator_regular_compare_function() 136 zval_ptr_dtor( &num2 ); in collator_regular_compare_function() 152 zval* num2 = NULL; in collator_numeric_compare_function() local 162 num2 = collator_convert_string_to_double( op2 ); in collator_numeric_compare_function() 163 op2 = num2; in collator_numeric_compare_function() 170 if( num2 ) in collator_numeric_compare_function() [all …]
|
/PHP-5.6/ext/standard/ |
H A D | math.c | 477 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 D | basic_functions.c | 1724 ZEND_ARG_INFO(0, num2)
|
/PHP-5.6/ext/standard/tests/serialize/ |
H A D | precision.phpt | 29 $num2 = unserialize(serialize($num)); 30 $repr = unpack("H*", pack("d", $num2)); $repr = reset($repr);
|
/PHP-5.6/Zend/ |
H A D | micro_bench.php | 266 $num2 = number_format($last_time - $overhead,3); 267 echo $name.$pad.$num." ".$num2."\n";
|
Completed in 39 milliseconds