Searched refs:ceil (Results 1 – 22 of 22) sorted by relevance
2 Tests for floor en ceil5 $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);
2 Test ceil() - basic function test for ceil()7 /* Prototype : float ceil ( float $value )12 echo "*** Testing ceil() : basic functionality ***\n";36 $res = ceil($values[$i]);43 *** Testing ceil() : basic functionality ***
12 -1 ~== ceil(-1.5)13 2 ~== ceil( 1.5)16 LONG_MIN ~== ceil(LONG_MIN - 0.5)17 LONG_MIN+1 ~== ceil(LONG_MIN + 0.5)24 LONG_MAX ~== ceil(LONG_MAX - 0.5)25 LONG_MAX+1 ~== ceil(LONG_MAX + 0.5)
2 Test ceil() function : usage variations - different data types as $value arg7 /* Prototype : float ceil ( float $value )12 echo "*** Testing ceil() : usage variations ***\n";66 // loop through each element of $inputs to check the behaviour of ceil()70 var_dump(ceil($input));77 *** Testing ceil() : usage variations ***
2 Test ceil function : 64bit long tests24 var_dump(ceil($longVal));
34 $ceil = ceil($len / $i);36 if($ceil != $cnt){37 echo "$cs WRONG CHUNKS NUMBER: expected/actual: $ceil/$cnt\n";
52 PHP_FUNCTION(ceil);
109 tmp_value = ceil(value - 0.5); in php_round_helper()111 (mode == PHP_ROUND_HALF_EVEN && value == (-0.5 + 2 * ceil(tmp_value/2.0))) || in php_round_helper()112 (mode == PHP_ROUND_HALF_ODD && value == (-0.5 + 2 * ceil(tmp_value/2.0) + 1.0))) in php_round_helper()313 PHP_FUNCTION(ceil) in PHP_FUNCTION() argument324 RETURN_DOUBLE(ceil(Z_DVAL_P(value))); in PHP_FUNCTION()
136 dest = zend_string_alloc((size_t) ceil(src_len * 0.75), 0); in php_uudecode()
2932 PHP_FE(ceil, arginfo_ceil)
192 *hour = ceil(h); in timelib_decimal_hour_to_hms()193 *min = 0 - ceil((h - *hour) * 60); in timelib_decimal_hour_to_hms()
93 $parts = str_split($data, (int) ceil(strlen($data) / 3));
58 ZVAL_DOUBLE(return_value, result<0?ceil(result):floor(result)); in internal_parse_to_timestamp()
739 $numelems = max(pow(2, ceil(log(1.5*count($origdp))/log(2))),16);
217 $size = 512 * ceil((int)$hdr['size'] / 512);
785 digest_length = (zend_long) ceil((float) length / 2.0); in PHP_FUNCTION()788 loops = (zend_long) ceil((float) digest_length / (float) ops->digest_size); in PHP_FUNCTION()
887 padding = ((int)ceil(0.5 * info->width)) % 4; in bmp_read_4bit()
890 windows_size = 2 * (int)ceil(width_d) + 1; in _gdContributionsCalc()899 int iRight = MIN((int)ceil(dCenter + width_d), (int)src_size - 1); in _gdContributionsCalc()
3263 dmod = ceil(dmod) + two_pow_32;
27848 # int32_t min_ceil; /* 4: 100 mm == 10 cm == min. ceil */27849 # int32_t max_ceil; /* 8: 10000 mm == 100 m == max. ceil */
Completed in 159 milliseconds