Home
last modified time | relevance | path

Searched refs:floor (Results 1 – 25 of 33) sorted by path

12

/php-src/Zend/tests/
H A Dbug42143.phpt17 var_dump(is_nan(floor(1)) == true);
H A Dgh13178_2.phpt2 GH-13178: Unsetting last offset must floor iterator position
/php-src/ext/date/lib/
H A Dastro.c76 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 Dinterval.c204 days = fabs(floor(one->sse - two->sse) / 86400); in timelib_diff_days()
H A Dtimelib.c198 *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 Dphp_date.c766 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 Dgd.c416 i = floor(h);
H A Dgd_avif.c106 tilesLog2 = floor(log2(tiles)); in setEncoderTilesAndThreads()
H A Dgd_interpolation.c887 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 Ddateformat_parse.c64 ZVAL_DOUBLE(return_value, result<0?ceil(result):floor(result)); in internal_parse_to_timestamp()
/php-src/ext/mysqli/tests/
H A Dmysqli_fetch_assoc_bit.phpt58 $max_loops = floor($max_value/$rand_max);
H A Dmysqli_stmt_bind_result_bit.phpt79 $max_loops = floor($max_value/$rand_max);
H A Dmysqli_stmt_get_result_bit.phpt64 $max_loops = floor($max_value/$rand_max);
H A Dmysqli_stmt_send_long_data.phpt54 $limit = min(floor($max_allowed_packet / 1024 / 2), 10240);
58 if (floor($max_allowed_packet / 1024) <= 10240) {
H A Dmysqli_stmt_send_long_data_packet_size_mysqlnd.phpt47 $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 Dminilua.c151 #define luai_nummod(a,b)((a)-floor((a)/(b))*(b))
/php-src/ext/opcache/jit/ir/
H A Dir_x86.dasc1853 } else if (STR_EQUAL(name, name_len, "floor")) {
/php-src/ext/pdo_mysql/tests/
H A Dpdo_mysql_attr_server_version.phpt43 $major = floor($version / 10000);
44 $minor = floor(($version - ($main * 10000)) / 100);
/php-src/ext/pdo_pgsql/tests/
H A Dbug69752.phpt43 $usage = intval(floor(memory_get_usage() / 1024));
/php-src/ext/soap/
H A Dphp_encoding.c1063 snprintf(s, sizeof(s), "%0.0F",floor(Z_DVAL_P(data))); in to_xml_long()
/php-src/ext/standard/
H A Dbasic_functions.stub.php3138 function floor(int|float $num): float {}
H A Dbasic_functions_arginfo.h2752 ZEND_FUNCTION(floor);
H A Dmath.c195 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 Dfloor_basic.phpt2 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 Dfloor_basiclong_64bit.phpt2 Test floor function : 64bit long tests
24 var_dump(floor($longVal));

Completed in 169 milliseconds

12