Lines Matching refs:num

361 	double num;  in PHP_FUNCTION()  local
364 Z_PARAM_DOUBLE(num) in PHP_FUNCTION()
366 RETURN_DOUBLE(sin(num)); in PHP_FUNCTION()
373 double num; in PHP_FUNCTION() local
376 Z_PARAM_DOUBLE(num) in PHP_FUNCTION()
378 RETURN_DOUBLE(cos(num)); in PHP_FUNCTION()
385 double num; in PHP_FUNCTION() local
388 Z_PARAM_DOUBLE(num) in PHP_FUNCTION()
390 RETURN_DOUBLE(tan(num)); in PHP_FUNCTION()
397 double num; in PHP_FUNCTION() local
400 Z_PARAM_DOUBLE(num) in PHP_FUNCTION()
402 RETURN_DOUBLE(asin(num)); in PHP_FUNCTION()
409 double num; in PHP_FUNCTION() local
412 Z_PARAM_DOUBLE(num) in PHP_FUNCTION()
414 RETURN_DOUBLE(acos(num)); in PHP_FUNCTION()
421 double num; in PHP_FUNCTION() local
424 Z_PARAM_DOUBLE(num) in PHP_FUNCTION()
426 RETURN_DOUBLE(atan(num)); in PHP_FUNCTION()
446 double num; in PHP_FUNCTION() local
449 Z_PARAM_DOUBLE(num) in PHP_FUNCTION()
451 RETURN_DOUBLE(sinh(num)); in PHP_FUNCTION()
458 double num; in PHP_FUNCTION() local
461 Z_PARAM_DOUBLE(num) in PHP_FUNCTION()
463 RETURN_DOUBLE(cosh(num)); in PHP_FUNCTION()
470 double num; in PHP_FUNCTION() local
473 Z_PARAM_DOUBLE(num) in PHP_FUNCTION()
475 RETURN_DOUBLE(tanh(num)); in PHP_FUNCTION()
482 double num; in PHP_FUNCTION() local
485 Z_PARAM_DOUBLE(num) in PHP_FUNCTION()
487 RETURN_DOUBLE(asinh(num)); in PHP_FUNCTION()
494 double num; in PHP_FUNCTION() local
497 Z_PARAM_DOUBLE(num) in PHP_FUNCTION()
499 RETURN_DOUBLE(acosh(num)); in PHP_FUNCTION()
506 double num; in PHP_FUNCTION() local
509 Z_PARAM_DOUBLE(num) in PHP_FUNCTION()
511 RETURN_DOUBLE(atanh(num)); in PHP_FUNCTION()
577 double num; in PHP_FUNCTION() local
580 Z_PARAM_DOUBLE(num) in PHP_FUNCTION()
583 RETURN_DOUBLE(exp(num)); in PHP_FUNCTION()
590 double num; in PHP_FUNCTION() local
593 Z_PARAM_DOUBLE(num) in PHP_FUNCTION()
596 RETURN_DOUBLE(expm1(num)); in PHP_FUNCTION()
603 double num; in PHP_FUNCTION() local
606 Z_PARAM_DOUBLE(num) in PHP_FUNCTION()
609 RETURN_DOUBLE(log1p(num)); in PHP_FUNCTION()
616 double num, base = 0; in PHP_FUNCTION() local
619 Z_PARAM_DOUBLE(num) in PHP_FUNCTION()
625 RETURN_DOUBLE(log(num)); in PHP_FUNCTION()
629 RETURN_DOUBLE(log2(num)); in PHP_FUNCTION()
633 RETURN_DOUBLE(log10(num)); in PHP_FUNCTION()
645 RETURN_DOUBLE(log(num) / log(base)); in PHP_FUNCTION()
652 double num; in PHP_FUNCTION() local
655 Z_PARAM_DOUBLE(num) in PHP_FUNCTION()
658 RETURN_DOUBLE(log10(num)); in PHP_FUNCTION()
665 double num; in PHP_FUNCTION() local
668 Z_PARAM_DOUBLE(num) in PHP_FUNCTION()
671 RETURN_DOUBLE(sqrt(num)); in PHP_FUNCTION()
720 zend_long num = 0, digit, onum; in _php_math_basetolong() local
742 onum = num; in _php_math_basetolong()
743 num = num * base + digit; in _php_math_basetolong()
744 if (num > onum) in _php_math_basetolong()
754 return num; in _php_math_basetolong()
764 zend_long num = 0; in _php_math_basetozval() local
811 if (num < cutoff || (num == cutoff && c <= cutlim)) { in _php_math_basetozval()
812 num = num * base + c; in _php_math_basetozval()
815 fnum = (double)num; in _php_math_basetozval()
831 ZVAL_LONG(ret, num); in _php_math_basetozval()
1187 PHPAPI zend_string *_php_math_number_format_long(zend_long num, zend_long dec, const char *dec_poin… in _php_math_number_format_long() argument
1215 if (num < 0) { in _php_math_number_format_long()
1217 tmpnum = ((zend_ulong)-(num + 1)) + 1; in _php_math_number_format_long()
1219 tmpnum = (zend_ulong)num; in _php_math_number_format_long()
1308 zval* num; in PHP_FUNCTION() local
1315 Z_PARAM_NUMBER(num) in PHP_FUNCTION()
1331 switch (Z_TYPE_P(num)) { in PHP_FUNCTION()
1333 …RETURN_STR(_php_math_number_format_long(Z_LVAL_P(num), dec, dec_point, dec_point_len, thousand_sep… in PHP_FUNCTION()
1340 (Z_DVAL_P(num) >= 4503599627370496.0 || Z_DVAL_P(num) <= -4503599627370496.0) in PHP_FUNCTION()
1341 && ZEND_DOUBLE_FITS_LONG(Z_DVAL_P(num)) in PHP_FUNCTION()
1343 …RETURN_STR(_php_math_number_format_long((zend_long)Z_DVAL_P(num), dec, dec_point, dec_point_len, t… in PHP_FUNCTION()
1352 …RETURN_STR(_php_math_number_format_ex(Z_DVAL_P(num), dec_int, dec_point, dec_point_len, thousand_s… in PHP_FUNCTION()