Lines Matching refs:num

395 	double num;  in PHP_FUNCTION()  local
398 Z_PARAM_DOUBLE(num) in PHP_FUNCTION()
400 RETURN_DOUBLE(sin(num)); in PHP_FUNCTION()
407 double num; in PHP_FUNCTION() local
410 Z_PARAM_DOUBLE(num) in PHP_FUNCTION()
412 RETURN_DOUBLE(cos(num)); in PHP_FUNCTION()
419 double num; in PHP_FUNCTION() local
422 Z_PARAM_DOUBLE(num) in PHP_FUNCTION()
424 RETURN_DOUBLE(tan(num)); in PHP_FUNCTION()
431 double num; in PHP_FUNCTION() local
434 Z_PARAM_DOUBLE(num) in PHP_FUNCTION()
436 RETURN_DOUBLE(asin(num)); in PHP_FUNCTION()
443 double num; in PHP_FUNCTION() local
446 Z_PARAM_DOUBLE(num) in PHP_FUNCTION()
448 RETURN_DOUBLE(acos(num)); in PHP_FUNCTION()
455 double num; in PHP_FUNCTION() local
458 Z_PARAM_DOUBLE(num) in PHP_FUNCTION()
460 RETURN_DOUBLE(atan(num)); in PHP_FUNCTION()
480 double num; in PHP_FUNCTION() local
483 Z_PARAM_DOUBLE(num) in PHP_FUNCTION()
485 RETURN_DOUBLE(sinh(num)); in PHP_FUNCTION()
492 double num; in PHP_FUNCTION() local
495 Z_PARAM_DOUBLE(num) in PHP_FUNCTION()
497 RETURN_DOUBLE(cosh(num)); in PHP_FUNCTION()
504 double num; in PHP_FUNCTION() local
507 Z_PARAM_DOUBLE(num) in PHP_FUNCTION()
509 RETURN_DOUBLE(tanh(num)); in PHP_FUNCTION()
516 double num; in PHP_FUNCTION() local
519 Z_PARAM_DOUBLE(num) in PHP_FUNCTION()
521 RETURN_DOUBLE(asinh(num)); in PHP_FUNCTION()
528 double num; in PHP_FUNCTION() local
531 Z_PARAM_DOUBLE(num) in PHP_FUNCTION()
533 RETURN_DOUBLE(acosh(num)); in PHP_FUNCTION()
540 double num; in PHP_FUNCTION() local
543 Z_PARAM_DOUBLE(num) in PHP_FUNCTION()
545 RETURN_DOUBLE(atanh(num)); in PHP_FUNCTION()
611 double num; in PHP_FUNCTION() local
614 Z_PARAM_DOUBLE(num) in PHP_FUNCTION()
617 RETURN_DOUBLE(exp(num)); in PHP_FUNCTION()
624 double num; in PHP_FUNCTION() local
627 Z_PARAM_DOUBLE(num) in PHP_FUNCTION()
630 RETURN_DOUBLE(expm1(num)); in PHP_FUNCTION()
637 double num; in PHP_FUNCTION() local
640 Z_PARAM_DOUBLE(num) in PHP_FUNCTION()
643 RETURN_DOUBLE(log1p(num)); in PHP_FUNCTION()
650 double num, base = 0; in PHP_FUNCTION() local
653 Z_PARAM_DOUBLE(num) in PHP_FUNCTION()
659 RETURN_DOUBLE(log(num)); in PHP_FUNCTION()
663 RETURN_DOUBLE(log2(num)); in PHP_FUNCTION()
667 RETURN_DOUBLE(log10(num)); in PHP_FUNCTION()
679 RETURN_DOUBLE(log(num) / log(base)); in PHP_FUNCTION()
686 double num; in PHP_FUNCTION() local
689 Z_PARAM_DOUBLE(num) in PHP_FUNCTION()
692 RETURN_DOUBLE(log10(num)); in PHP_FUNCTION()
699 double num; in PHP_FUNCTION() local
702 Z_PARAM_DOUBLE(num) in PHP_FUNCTION()
705 RETURN_DOUBLE(sqrt(num)); in PHP_FUNCTION()
754 zend_long num = 0, digit, onum; in _php_math_basetolong() local
776 onum = num; in _php_math_basetolong()
777 num = num * base + digit; in _php_math_basetolong()
778 if (num > onum) in _php_math_basetolong()
788 return num; in _php_math_basetolong()
798 zend_long num = 0; in _php_math_basetozval() local
845 if (num < cutoff || (num == cutoff && c <= cutlim)) { in _php_math_basetozval()
846 num = num * base + c; in _php_math_basetozval()
849 fnum = (double)num; in _php_math_basetozval()
865 ZVAL_LONG(ret, num); in _php_math_basetozval()
1221 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
1249 if (num < 0) { in _php_math_number_format_long()
1251 tmpnum = ((zend_ulong)-(num + 1)) + 1; in _php_math_number_format_long()
1253 tmpnum = (zend_ulong)num; in _php_math_number_format_long()
1342 zval* num; in PHP_FUNCTION() local
1349 Z_PARAM_NUMBER(num) in PHP_FUNCTION()
1365 switch (Z_TYPE_P(num)) { in PHP_FUNCTION()
1367 …RETURN_STR(_php_math_number_format_long(Z_LVAL_P(num), dec, dec_point, dec_point_len, thousand_sep… in PHP_FUNCTION()
1374 (Z_DVAL_P(num) >= 4503599627370496.0 || Z_DVAL_P(num) <= -4503599627370496.0) in PHP_FUNCTION()
1375 && ZEND_DOUBLE_FITS_LONG(Z_DVAL_P(num)) in PHP_FUNCTION()
1377 …RETURN_STR(_php_math_number_format_long((zend_long)Z_DVAL_P(num), dec, dec_point, dec_point_len, t… in PHP_FUNCTION()
1386 …RETURN_STR(_php_math_number_format_ex(Z_DVAL_P(num), dec_int, dec_point, dec_point_len, thousand_s… in PHP_FUNCTION()