Searched refs:ceil (Results 1 – 15 of 15) sorted by relevance
/PHP-5.4/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_error.phpt | 2 Test ceil() - error conditions - incorrect number of args 5 /* Prototype : float ceil ( float $value ) 10 echo "*** Testing ceil() : error conditions ***\n"; 15 var_dump(ceil($arg_0, $extra_arg)); 18 var_dump(ceil()); 22 *** Testing ceil() : error conditions *** 26 Warning: ceil() expects exactly 1 parameter, 2 given in %s on line %d 31 Warning: ceil() expects exactly 1 parameter, 0 given in %s on line %d
|
H A D | round.phpt | 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)
|
H A D | ceil_basic.phpt | 2 Test ceil() - basic function test for ceil() 11 /* Prototype : float ceil ( float $value ) 16 echo "*** Testing ceil() : basic functionality ***\n"; 41 $res = ceil($values[$i]); 48 *** Testing ceil() : basic functionality ***
|
H A D | ceil_variation1.phpt | 2 Test ceil() function : usage variations - different data types as $value arg 7 /* 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 ***
|
H A D | ceil_basiclong_64bit.phpt | 2 Test ceil function : 64bit long tests 24 var_dump(ceil($longVal));
|
/PHP-5.4/ext/standard/ |
H A D | uuencode.c | 74 p = *dest = safe_emalloc((size_t) ceil(src_len * 1.38), 1, 46); in php_uuencode() 132 p = *dest = safe_emalloc((size_t) ceil(src_len * 0.75), 1, 1); in php_uudecode()
|
H A D | php_math.h | 55 PHP_FUNCTION(ceil);
|
H A D | math.c | 121 tmp_value = ceil(value - 0.5); in php_round_helper() 123 (mode == PHP_ROUND_HALF_EVEN && value == (-0.5 + 2 * ceil(tmp_value/2.0))) || in php_round_helper() 124 (mode == PHP_ROUND_HALF_ODD && value == (-0.5 + 2 * ceil(tmp_value/2.0) + 1.0))) in php_round_helper() 301 PHP_FUNCTION(ceil) in PHP_FUNCTION() argument 311 RETURN_DOUBLE(ceil(Z_DVAL_PP(value))); in PHP_FUNCTION()
|
H A D | basic_functions.c | 2882 PHP_FE(ceil, arginfo_ceil)
|
/PHP-5.4/ext/intl/dateformat/ |
H A D | dateformat_parse.c | 58 ZVAL_DOUBLE(return_value, result<0?ceil(result):floor(result)); in internal_parse_to_timestamp()
|
/PHP-5.4/ext/intl/msgformat/ |
H A D | msgformat_helpers.cpp | 162 ZVAL_DOUBLE((*args)[i], aDate<0?ceil(aDate):floor(aDate)); in umsg_parse_helper()
|
/PHP-5.4/ext/standard/html_tables/ |
H A D | html_table_gen.php | 738 $numelems = max(pow(2, ceil(log(1.5*count($origdp))/log(2))),16);
|
/PHP-5.4/win32/build/ |
H A D | mkdist.php | 201 $size = 512 * ceil((int)$hdr['size'] / 512);
|
/PHP-5.4/ext/gd/ |
H A D | gd.c | 4487 add_next_index_long(return_value, (int) ceil(((double) str_bbox.llx)*sz/1000)); in PHP_FUNCTION() 4488 add_next_index_long(return_value, (int) ceil(((double) str_bbox.lly)*sz/1000)); in PHP_FUNCTION() 4489 add_next_index_long(return_value, (int) ceil(((double) str_bbox.urx)*sz/1000)); in PHP_FUNCTION() 4490 add_next_index_long(return_value, (int) ceil(((double) str_bbox.ury)*sz/1000)); in PHP_FUNCTION()
|
Completed in 95 milliseconds