Searched refs:abs (Results 1 – 25 of 28) sorted by relevance
12
/PHP-7.4/ext/standard/tests/math/ |
H A D | abs.phpt | 12 1 === abs(-1) 13 1.5 === abs(-1.5) 14 1 === abs("-1") 15 1.5 === abs("-1.5") 16 -LONG_MIN+1 === abs(LONG_MIN-1) 17 -LONG_MIN === abs(LONG_MIN) 18 -(LONG_MIN+1) === abs(LONG_MIN+1)
|
H A D | abs_variation.phpt | 2 Test abs() function : usage variations - different data types as $number arg 5 /* Prototype : number abs ( mixed $number ) 11 * Pass different data types as $number argument to abs() to test behaviour 14 echo "*** Testing abs() : usage variations ***\n"; 24 return "abs"; 30 abs 55 /*19*/ "abs", 56 'abs', 72 // loop through each element of $inputs to check the behavior of abs() 76 var_dump(abs($input) ); [all …]
|
H A D | abs_basic.phpt | 2 Test abs() function : basic functionality 7 /* Prototype : number abs ( mixed $number ) 12 echo "*** Testing abs() : basic functionality ***\n"; 30 $res = abs($values[$i]); 36 *** Testing abs() : basic functionality ***
|
H A D | abs_basiclong_64bit.phpt | 2 Test abs function : 64bit long tests 24 var_dump(abs($longVal));
|
/PHP-7.4/ext/gd/tests/ |
H A D | bug49600.phpt | 19 if ( abs($x[0] - $y[0]) > 1 20 || abs($x[2] - $y[2]) > 1 21 || abs($x[4] - $y[4]) > 1 22 || abs($x[6] - $y[6]) > 1 ) {
|
/PHP-7.4/ext/intl/tests/ |
H A D | calendar_getNow_basic.phpt | 15 var_dump(abs($now - $proc_now) < 500); 16 var_dump(abs($time * 1000 - $proc_now) < 2000);
|
H A D | calendar_createInstance_basic.phpt | 24 var_dump(abs($timeMillis - $time * 1000) < 2000);
|
/PHP-7.4/ext/pdo_pgsql/tests/ |
H A D | getnotify.phpt | 74 var_dump($diff >= 1 || 1 - abs($diff) < .05); 82 var_dump($diff < 1 || abs(1 - abs($diff)) < .05);
|
H A D | bug69752.phpt | 46 if (abs($first_time_usage - $usage) > 3){
|
/PHP-7.4/ext/standard/tests/hrtime/ |
H A D | hrtime.phpt | 16 $d = abs($d0 - $d1)/$d1;
|
/PHP-7.4/tests/ |
H A D | quicktester.inc | 59 $result = abs(($left-$right) / $left) < 1e-12;
|
/PHP-7.4/ext/standard/ |
H A D | php_math.h | 51 PHP_FUNCTION(abs);
|
H A D | math.c | 139 f1 = php_intpow10(abs(places)); in _php_math_round() 147 f2 = php_intpow10(abs((int)use_precision)); in _php_math_round() 160 f2 = php_intpow10(abs((int)use_precision)); in _php_math_round() 180 if (abs(places) < 23) { in _php_math_round() 288 PHP_FUNCTION(abs) in PHP_FUNCTION() argument
|
H A D | image.c | 170 result->height = abs((int32_t)result->height); in php_handle_bmp()
|
H A D | basic_functions.c | 2931 PHP_FE(abs, arginfo_abs)
|
/PHP-7.4/Zend/ |
H A D | zend_long.h | 104 # define ZEND_ABS abs
|
/PHP-7.4/ext/date/ |
H A D | php_date.c | 1148 abs(offset->offset / 3600), in date_format() 1215 localtime ? abs(offset->offset / 3600) : 0, in date_format() 1234 abs(offset->offset / 3600), in date_format() 1235 abs((offset->offset % 3600) / 60) in date_format() 1248 localtime ? abs(offset->offset / 3600) : 0, in date_format() 1257 localtime ? abs(offset->offset / 3600) : 0, in date_format() 1360 abs(offset->offset / 3600), in php_idate() 2337 abs(utc_offset / 3600), in date_object_get_properties_for() 2338 abs(((utc_offset % 3600) / 60))); in date_object_get_properties_for() 2433 abs((int)(utc_offset / 3600)), in php_timezone_to_string() [all …]
|
/PHP-7.4/ext/date/lib/ |
H A D | tm2unixtime.c | 178 time->d -= (7 - (abs(time->relative.weekday) - current_dow)); in do_adjust_for_weekday()
|
/PHP-7.4/ |
H A D | CODING_STANDARDS.md | 283 /* {{{ proto int abs(int number) 285 PHP_FUNCTION(abs)
|
/PHP-7.4/ext/gd/libgd/ |
H A D | gd.c | 1062 dx = abs (x2 - x1); in gdImageLine() 1063 dy = abs (y2 - y1); in gdImageLine() 1259 if (abs((int)dx) > abs((int)dy)) { in gdImageAALine() 1329 dx = abs(x2 - x1); in gdImageDashedLine() 1330 dy = abs(y2 - y1); in gdImageDashedLine()
|
H A D | gd_interpolation.c | 2345 end_x = bbox.width + abs(bbox.x); in gdTransformAffineCopy() 2346 end_y = bbox.height + abs(bbox.y); in gdTransformAffineCopy()
|
/PHP-7.4/build/ |
H A D | ltmain.sh | 5731 [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;; 5732 *) abs=`pwd`"/$lib" ;; 5734 newdlfiles="$newdlfiles $abs" 5740 [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;; 5741 *) abs=`pwd`"/$lib" ;; 5743 newdlprefiles="$newdlprefiles $abs"
|
/PHP-7.4/ext/soap/ |
H A D | php_encoding.c | 2872 …st ? _timezone - 3600:_timezone)>0)?'-':'+', abs((ta->tm_isdst ? _timezone - 3600 : _timezone) / 3… in to_xml_datetime_ex() 2874 …isdst ? timezone - 3600:timezone)>0)?'-':'+', abs((ta->tm_isdst ? timezone - 3600 : timezone) / 36… in to_xml_datetime_ex()
|
/PHP-7.4/ext/gmp/ |
H A D | gmp.c | 769 num_len = mpz_sizeinbase(gmpnum, abs(base)); in gmp_strval()
|
/PHP-7.4/sapi/litespeed/ |
H A D | lsapilib.c | 3080 if ( abs( g_prefork_server->m_iCurChildren - count ) > 1 ) in lsapi_check_child_status()
|
Completed in 206 milliseconds
12