/php-src/Zend/tests/ |
H A D | bug42143.phpt | 17 var_dump(is_nan(floor(1)) == true);
|
H A D | gh13178_2.phpt | 2 GH-13178: Unsetting last offset must floor iterator position
|
/php-src/ext/date/lib/ |
H A D | astro.c | 76 return (x - 360.0 * floor(x * INV360)); in astro_revolution() 84 return (x - 360.0 * floor(x * INV360 + 0.5)); in astro_rev180()
|
H A D | interval.c | 204 days = fabs(floor(one->sse - two->sse) / 86400); in timelib_diff_days()
|
H A D | timelib.c | 198 *hour = floor(h); in timelib_decimal_hour_to_hms() 199 seconds = floor((h - *hour) * 3600); in timelib_decimal_hour_to_hms()
|
/php-src/ext/date/ |
H A D | php_date.c | 766 case 'u': length = slprintf(buffer, sizeof(buffer), "%06d", (int) floor(t->us)); break; in date_format() 767 case 'v': length = slprintf(buffer, sizeof(buffer), "%03d", (int) floor(t->us / 1000)); break; in date_format() 5521 N -= floor(N / 24) * 24; in php_do_date_sunrise_sunset()
|
/php-src/ext/gd/libgd/ |
H A D | gd.c | 416 i = floor(h);
|
H A D | gd_avif.c | 106 tilesLog2 = floor(log2(tiles)); in setEncoderTilesAndThreads()
|
H A D | gd_interpolation.c | 887 register int iLeft = MAX(0, (int)floor (dCenter - width_d)); in _gdContributionsCalc() 2443 bbox->width = (int) floor(max.x - min.x) - 1; in gdTransformAffineBoundingBox() 2444 bbox->height = (int) floor(max.y - min.y); in gdTransformAffineBoundingBox()
|
/php-src/ext/intl/dateformat/ |
H A D | dateformat_parse.c | 64 ZVAL_DOUBLE(return_value, result<0?ceil(result):floor(result)); in internal_parse_to_timestamp()
|
/php-src/ext/mysqli/tests/ |
H A D | mysqli_fetch_assoc_bit.phpt | 58 $max_loops = floor($max_value/$rand_max);
|
H A D | mysqli_stmt_bind_result_bit.phpt | 79 $max_loops = floor($max_value/$rand_max);
|
H A D | mysqli_stmt_get_result_bit.phpt | 64 $max_loops = floor($max_value/$rand_max);
|
H A D | mysqli_stmt_send_long_data.phpt | 54 $limit = min(floor($max_allowed_packet / 1024 / 2), 10240); 58 if (floor($max_allowed_packet / 1024) <= 10240) {
|
H A D | mysqli_stmt_send_long_data_packet_size_mysqlnd.phpt | 47 $limit = min(floor($max_allowed_packet / 1024 / 2), 10240); 71 if (floor($max_allowed_packet / 1024 / 2) <= 10240) {
|
/php-src/ext/opcache/jit/ir/dynasm/ |
H A D | minilua.c | 151 #define luai_nummod(a,b)((a)-floor((a)/(b))*(b))
|
/php-src/ext/opcache/jit/ir/ |
H A D | ir_x86.dasc | 1853 } else if (STR_EQUAL(name, name_len, "floor")) {
|
/php-src/ext/pdo_mysql/tests/ |
H A D | pdo_mysql_attr_server_version.phpt | 43 $major = floor($version / 10000); 44 $minor = floor(($version - ($main * 10000)) / 100);
|
/php-src/ext/pdo_pgsql/tests/ |
H A D | bug69752.phpt | 43 $usage = intval(floor(memory_get_usage() / 1024));
|
/php-src/ext/soap/ |
H A D | php_encoding.c | 1063 snprintf(s, sizeof(s), "%0.0F",floor(Z_DVAL_P(data))); in to_xml_long()
|
/php-src/ext/standard/ |
H A D | basic_functions.stub.php | 3138 function floor(int|float $num): float {}
|
H A D | basic_functions_arginfo.h | 2752 ZEND_FUNCTION(floor);
|
H A D | math.c | 195 tmp_value = floor(places > 0 ? value * exponent : value / exponent); in _php_math_round() 286 PHP_FUNCTION(floor) in PHP_FUNCTION() argument 298 RETURN_DOUBLE(floor(Z_DVAL_P(value))); in PHP_FUNCTION() 916 double fvalue = floor(Z_DVAL_P(arg)); /* floor it just in case */ in _php_math_zvaltobase()
|
/php-src/ext/standard/tests/math/ |
H A D | floor_basic.phpt | 2 Test floor() - basic function test for floor() 39 -- floor 0 -- 42 -- floor 0 -- 45 -- floor 0.5 -- 51 -- floor 1 -- 54 -- floor -1 -- 69 -- floor 31 -- 72 -- floor 95 -- 90 -- floor 1 -- 93 -- floor -- [all …]
|
H A D | floor_basiclong_64bit.phpt | 2 Test floor function : 64bit long tests 24 var_dump(floor($longVal));
|