Searched refs:abs (Results 1 – 25 of 40) sorted by relevance
12
/PHP-8.1/ext/standard/tests/math/ |
H A D | abs_variation.phpt | 2 Test abs() function : usage variations - different data types as $number arg 9 echo "*** Testing abs() : usage variations ***\n"; 19 return "abs"; 25 abs 50 /*19*/ "abs", 51 'abs', 72 var_dump(abs($input)); 82 *** Testing abs() : usage variations *** 107 abs(): Argument #1 ($num) must be of type int|float, string given 110 abs(): Argument #1 ($num) must be of type int|float, string given [all …]
|
H A D | abs.phpt | 11 var_dump(1 === abs(-1)); 12 var_dump(1.5 === abs(-1.5)); 13 var_dump(1 === abs("-1")); 14 var_dump(1.5 === abs("-1.5")); 15 var_dump(-LONG_MIN+1 === abs(LONG_MIN-1)); 16 var_dump(-LONG_MIN === abs(LONG_MIN)); 17 var_dump(-(LONG_MIN+1) === abs(LONG_MIN+1));
|
H A D | abs_basic.phpt | 2 Test abs() function : basic functionality 7 echo "*** Testing abs() : basic functionality ***\n"; 25 $res = abs($values[$i]); 30 *** Testing abs() : basic functionality *** 43 Deprecated: abs(): Passing null to parameter #1 ($num) of type int|float is deprecated in %s on lin…
|
H A D | abs_basiclong_64bit.phpt | 2 Test abs function : 64bit long tests 24 var_dump(abs($longVal));
|
H A D | round.phpt | 12 return abs(($left-$right) / $left) < 1e-12;
|
H A D | pow.phpt | 12 return abs(($left-$right) / $left) < 1e-12;
|
/PHP-8.1/ext/gd/tests/ |
H A D | bug49600.phpt | 20 if ( abs($x[0] - $y[0]) > 1 21 || abs($x[2] - $y[2]) > 1 22 || abs($x[4] - $y[4]) > 1 23 || abs($x[6] - $y[6]) > 1 ) {
|
/PHP-8.1/ext/intl/tests/ |
H A D | calendar_getNow_basic.phpt | 13 var_dump(abs($now - $proc_now) < 500); 14 var_dump(abs($time * 1000 - $proc_now) < 2000);
|
H A D | calendar_createInstance_basic.phpt | 22 var_dump(abs($timeMillis - $time * 1000) < 2000);
|
/PHP-8.1/ext/pdo_pgsql/tests/ |
H A D | getnotify.phpt | 76 var_dump($diff >= 1 || 1 - abs($diff) < .05); 84 var_dump($diff < 1 || abs(1 - abs($diff)) < .05);
|
H A D | bug69752.phpt | 48 if (abs($first_time_usage - $usage) > 3){
|
/PHP-8.1/ext/standard/tests/hrtime/ |
H A D | hrtime.phpt | 18 $d = abs($d0 - $d1)/$d1;
|
/PHP-8.1/Zend/asm/ |
H A D | make_arm_aapcs_macho_gas.S | 59 @ compute abs address of label finish
|
H A D | make_ppc32_sysv_elf_gas.S | 97 # compute abs address of trampoline, use as PC 101 # compute abs address of label finish
|
H A D | make_arm_aapcs_elf_gas.S | 62 @ compute abs address of label finish
|
H A D | make_mips64_n64_elf_gas.S | 72 # psudo instruction compute abs address of label finish based on GP
|
H A D | make_ppc32_sysv_xcoff_gas.S | 100 # compute abs address of label .L_finish
|
H A D | make_ppc64_sysv_xcoff_gas.S | 112 # compute abs address of label .L_finish
|
H A D | make_mips32_o32_elf_gas.S | 75 # compute abs address of label finish
|
H A D | make_i386_ms_pe_masm.asm | 73 ; compute abs address of label trampoline 79 ; compute abs address of label finish
|
H A D | make_ppc64_sysv_elf_gas.S | 140 # compute abs address of label finish
|
/PHP-8.1/ext/standard/ |
H A D | math.c | 138 f1 = php_intpow10(abs(places)); in _php_math_round() 146 f2 = php_intpow10(abs((int)use_precision)); in _php_math_round() 159 f2 = php_intpow10(abs((int)use_precision)); in _php_math_round() 179 if (abs(places) < 23) { in _php_math_round() 209 PHP_FUNCTION(abs) in PHP_FUNCTION() argument
|
/PHP-8.1/Zend/ |
H A D | zend_long.h | 104 # define ZEND_ABS abs
|
/PHP-8.1/ext/date/ |
H A D | php_date.c | 654 abs(offset->offset / 3600), in date_format() 727 localtime ? abs(offset->offset / 3600) : 0, in date_format() 746 abs(offset->offset / 3600), in date_format() 747 abs((offset->offset % 3600) / 60) in date_format() 760 localtime ? abs(offset->offset / 3600) : 0, in date_format() 769 localtime ? abs(offset->offset / 3600) : 0, in date_format() 1867 abs(utc_offset / 3600), in date_object_get_properties_for() 1868 abs(((utc_offset % 3600) / 60))); in date_object_get_properties_for() 1976 abs((int)(utc_offset / 3600)), in php_timezone_to_string() 1977 abs((int)(utc_offset % 3600) / 60), in php_timezone_to_string() [all …]
|
/PHP-8.1/ext/date/lib/ |
H A D | tm2unixtime.c | 174 time->d -= (7 - (abs(time->relative.weekday) - current_dow)); in do_adjust_for_weekday()
|
Completed in 69 milliseconds
12