Searched refs:ceil (Results 1 – 23 of 23) sorted by relevance
/PHP-8.1/ext/standard/tests/math/ |
H A D | floorceil.phpt | 2 Tests for floor en ceil 5 $a = ceil (-0); $b = ceil (-1); $c = ceil (-1.5); 6 $d = ceil (-1.8); $e = ceil (-2.7); 9 $a = ceil (0); $b = ceil (0.5); $c = ceil (1); 10 $d = ceil (1.5); $e = ceil (1.8); $f = ceil (2.7);
|
H A D | ceil_variation1.phpt | 2 Test ceil() function : usage variations - different data types as $value arg 7 echo "*** Testing ceil() : usage variations ***\n"; 66 var_dump(ceil($input)); 75 *** Testing ceil() : usage variations *** 100 ceil(): Argument #1 ($num) must be of type int|float, string given 103 ceil(): Argument #1 ($num) must be of type int|float, string given 106 ceil(): Argument #1 ($num) must be of type int|float, array given 109 ceil(): Argument #1 ($num) must be of type int|float, string given 112 ceil(): Argument #1 ($num) must be of type int|float, string given 115 ceil(): Argument #1 ($num) must be of type int|float, string given [all …]
|
H A D | ceil_basic.phpt | 2 Test ceil() - basic function test for ceil() 7 echo "*** Testing ceil() : basic functionality ***\n"; 31 $res = ceil($values[$i]); 37 *** Testing ceil() : basic functionality *** 58 Deprecated: ceil(): Passing null to parameter #1 ($num) of type int|float is deprecated in %s on li…
|
H A D | round.phpt | 15 var_dump(epsilon_equal( -1 , ceil(-1.5) )); 16 var_dump(epsilon_equal( 2 , ceil( 1.5) )); 19 var_dump(epsilon_equal( LONG_MIN , ceil(LONG_MIN - 0.5) )); 20 var_dump(epsilon_equal( LONG_MIN+1 , ceil(LONG_MIN + 0.5) )); 27 var_dump(epsilon_equal( LONG_MAX , ceil(LONG_MAX - 0.5) )); 28 var_dump(epsilon_equal( LONG_MAX+1 , ceil(LONG_MAX + 0.5) ));
|
H A D | ceil_basiclong_64bit.phpt | 2 Test ceil function : 64bit long tests 24 var_dump(ceil($longVal));
|
/PHP-8.1/ext/mbstring/tests/ |
H A D | mb_str_split_ru.phpt | 33 $ceil = ceil($len / $i); 35 if($ceil != $cnt){ 36 echo "$cs WRONG CHUNKS NUMBER: expected/actual: $ceil/$cnt\n";
|
H A D | mb_str_split_jp.phpt | 33 $ceil = ceil($len / $i); 35 if($ceil != $cnt){ 36 echo "$cs WRONG CHUNKS NUMBER: expected/actual: $ceil/$cnt\n";
|
/PHP-8.1/ext/standard/ |
H A D | math.c | 108 tmp_value = ceil(value - 0.5); in php_round_helper() 110 (mode == PHP_ROUND_HALF_EVEN && value == (-0.5 + 2 * ceil(tmp_value/2.0))) || in php_round_helper() 111 (mode == PHP_ROUND_HALF_ODD && value == (-0.5 + 2 * ceil(tmp_value/2.0) + 1.0))) in php_round_helper() 232 PHP_FUNCTION(ceil) in PHP_FUNCTION() argument 241 RETURN_DOUBLE(ceil(Z_DVAL_P(value))); in PHP_FUNCTION()
|
H A D | uuencode.c | 140 dest = zend_string_alloc((size_t) ceil(src_len * 0.75), 0); in php_uudecode()
|
H A D | basic_functions.stub.php | 1381 function ceil(int|float $num): float {} function
|
H A D | basic_functions_arginfo.h | 2661 ZEND_FUNCTION(ceil); 3304 ZEND_FE(ceil, arginfo_ceil)
|
/PHP-8.1/ext/date/lib/ |
H A D | timelib.c | 195 *hour = ceil(h); in timelib_decimal_hour_to_hms() 196 *min = 0 - ceil((h - *hour) * 60); in timelib_decimal_hour_to_hms()
|
/PHP-8.1/ext/openssl/tests/ |
H A D | bug77390.phpt | 94 $parts = str_split($data, (int) ceil(strlen($data) / 3));
|
/PHP-8.1/ext/intl/dateformat/ |
H A D | dateformat_parse.c | 55 ZVAL_DOUBLE(return_value, result<0?ceil(result):floor(result)); in internal_parse_to_timestamp()
|
/PHP-8.1/ext/standard/html_tables/ |
H A D | html_table_gen.php | 735 $numelems = max(pow(2, ceil(log(1.5*count($origdp))/log(2))),16);
|
/PHP-8.1/win32/build/ |
H A D | mkdist.php | 217 $size = 512 * ceil((int)$hdr['size'] / 512);
|
/PHP-8.1/ext/gd/libgd/ |
H A D | gd_avif.c | 100 tiles = (int) ceil((double) imageArea / MIN_TILE_AREA); in setEncoderTilesAndThreads()
|
H A D | gd_bmp.c | 887 padding = ((int)ceil(0.5 * info->width)) % 4; in bmp_read_4bit()
|
H A D | gd_interpolation.c | 889 windows_size = 2 * (int)ceil(width_d) + 1; in _gdContributionsCalc() 898 int iRight = MIN((int)ceil(dCenter + width_d), (int)src_size - 1); in _gdContributionsCalc()
|
/PHP-8.1/ext/hash/ |
H A D | hash.c | 1048 digest_length = (zend_long) ceil((float) length / 2.0); in PHP_FUNCTION() 1051 loops = (zend_long) ceil((float) digest_length / (float) ops->digest_size); in PHP_FUNCTION()
|
/PHP-8.1/Zend/ |
H A D | zend_operators.c | 3409 dmod = ceil(dmod) + two_pow_32;
|
/PHP-8.1/ext/fileinfo/tests/ |
H A D | magic | 32710 # int32_t min_ceil; /* 4: 100 mm == 10 cm == min. ceil */ 32711 # int32_t max_ceil; /* 8: 10000 mm == 100 m == max. ceil */
|
H A D | magic私はガラスを食べられます | 32710 # int32_t min_ceil; /* 4: 100 mm == 10 cm == min. ceil */ 32711 # int32_t max_ceil; /* 8: 10000 mm == 100 m == max. ceil */
|
Completed in 179 milliseconds