Home
last modified time | relevance | path

Searched refs:round (Results 1 – 25 of 40) sorted by path

12

/PHP-7.4/
H A DNEWS1097 . Fixed bug #79174 (cookie values with spaces fail to round-trip). (cmb)
H A DUPGRADING184 . round(-0.0) will now return -0.0 rather than +0.0.
/PHP-7.4/docs/
H A Dparameter-parsing-api.md109 `size_t`), not the other way round!
/PHP-7.4/ext/fileinfo/tests/
H A Dmagic17672 # - Provide a way to round the next offset
H A Dmagic私はガラスを食べられます17672 # - Provide a way to round the next offset
/PHP-7.4/ext/gmp/
H A Dgmp.c78 ZEND_ARG_INFO(0, round)
1230 zend_long round = GMP_ROUND_ZERO; in ZEND_FUNCTION() local
1232 if (zend_parse_parameters(ZEND_NUM_ARGS(), "zz|l", &a_arg, &b_arg, &round) == FAILURE) { in ZEND_FUNCTION()
1236 switch (round) { in ZEND_FUNCTION()
1258 zend_long round = GMP_ROUND_ZERO; in ZEND_FUNCTION() local
1260 if (zend_parse_parameters(ZEND_NUM_ARGS(), "zz|l", &a_arg, &b_arg, &round) == FAILURE) { in ZEND_FUNCTION()
1264 switch (round) { in ZEND_FUNCTION()
1286 zend_long round = GMP_ROUND_ZERO; in ZEND_FUNCTION() local
1288 if (zend_parse_parameters(ZEND_NUM_ARGS(), "zz|l", &a_arg, &b_arg, &round) == FAILURE) { in ZEND_FUNCTION()
1292 switch (round) { in ZEND_FUNCTION()
/PHP-7.4/ext/hash/
H A Dhash_gost.c28 #define round(tables, k1, k2) \ macro
39 round(tables, key[0], key[1]) \
40 round(tables, key[2], key[3]) \
41 round(tables, key[4], key[5]) \
42 round(tables, key[6], key[7]) \
43 round(tables, key[0], key[1]) \
44 round(tables, key[2], key[3]) \
45 round(tables, key[4], key[5]) \
46 round(tables, key[6], key[7]) \
47 round(tables, key[0], key[1]) \
[all …]
H A Dhash_sha3.c92 unsigned char round; in permute() local
94 for (round = 0; round < 24; ++round) { in permute()
H A Dhash_snefru.c24 #define round(L, C, N, SB) \ macro
70 round(B15, B00, B01, t0); in Snefru()
71 round(B00, B01, B02, t0); in Snefru()
72 round(B01, B02, B03, t1); in Snefru()
73 round(B02, B03, B04, t1); in Snefru()
74 round(B03, B04, B05, t0); in Snefru()
75 round(B04, B05, B06, t0); in Snefru()
76 round(B05, B06, B07, t1); in Snefru()
77 round(B06, B07, B08, t1); in Snefru()
78 round(B07, B08, B09, t0); in Snefru()
[all …]
H A Dhash_tiger.c40 #define round(a,b,c,x,mul) \ macro
53 round(a,b,c,x0,mul) \
54 round(b,c,a,x1,mul) \
55 round(c,a,b,x2,mul) \
56 round(a,b,c,x3,mul) \
57 round(b,c,a,x4,mul) \
58 round(c,a,b,x5,mul) \
59 round(a,b,c,x6,mul) \
60 round(b,c,a,x7,mul)
/PHP-7.4/ext/hash/sha3/generic64lc/
H A DKeccakP-1600-64.macros43 /* --- Code for round, with prepare-theta (lane complementing pattern 'bebigokimisa') */
159 /* --- Code for round (lane complementing pattern 'bebigokimisa') */
251 /* --- Code for round, with prepare-theta */
367 /* --- Code for round */
/PHP-7.4/ext/mysqli/tests/
H A Dbug42378.phpt162 $expected[$k] = number_format(round($v), 0, '.', ',');
167 $expected[$k] = number_format(round($v), 0, '.', ',');
172 $expected[$k] = number_format(round($v), 0, '.', ',');
177 $expected[$k] = number_format(round($v), 0, '.', ',');
H A Dmysqli_stmt_bind_result_format.phpt167 $expected[$k] = number_format(round($v), 0, '.', ',');
172 $expected[$k] = number_format(round($v), 0, '.', ',');
177 $expected[$k] = number_format(round($v), 0, '.', ',');
182 $expected[$k] = number_format(round($v), 0, '.', ',');
187 $expected[$k] = number_format(round($v), 0, '.', ',');
192 $expected[$k] = number_format(round($v), 0, '.', ',');
197 $expected[$k] = number_format(round($v), 0, '.', ',');
202 $expected[$k] = number_format(round($v), 0, '.', ',');
/PHP-7.4/ext/oci8/tests/
H A Dconn_attr.inc104 //Do a round-trip here
H A Drefcur_prefetch_3.phpt60 // Calculate round-trips
/PHP-7.4/ext/opcache/tests/
H A Dphi_remove_001.phpt50 $Distribution[$key1][$key2] = round($value2 / $pct_data_scanned);
/PHP-7.4/ext/phar/tests/files/
H A Dpear2coverage.phar339 $percent = round(($covered / $total) * 100);
1155 return round(($coverage[0] / $coverage[1]) * 100);
/PHP-7.4/ext/phar/tests/tar/
H A Dtar_003.phpt41 echo "second round\n";
63 second round
/PHP-7.4/ext/standard/
H A Dbasic_functions.c2934 PHP_FE(round, arginfo_round)
H A Dcrypt_freesec.c376 int shifts, round; in des_setkey() local
426 for (round = 0; round < 16; round++) { in des_setkey()
429 shifts += key_shifts[round]; in des_setkey()
434 data->de_keysl[15 - round] = in des_setkey()
435 data->en_keysl[round] = comp_maskl[0][(t0 >> 21) & 0x7f] in des_setkey()
444 data->de_keysr[15 - round] = in des_setkey()
445 data->en_keysr[round] = comp_maskr[0][(t0 >> 21) & 0x7f] in des_setkey()
466 int round; in do_des() local
512 round = 16; in do_des()
513 while (round--) { in do_des()
H A Dmath.c355 PHP_FUNCTION(round) in PHP_FUNCTION() argument
H A Dphp_math.h54 PHP_FUNCTION(round);
/PHP-7.4/ext/standard/tests/math/
H A Dbug24142.phpt2 Bug #24142 (round() problems)
7 echo "round({$v}, 2) -> ".round($v, 2)."\n";
12 round(0.005, 2) -> 0.01
13 round(0.015, 2) -> 0.02
14 round(0.025, 2) -> 0.03
15 round(0.035, 2) -> 0.04
16 round(0.045, 2) -> 0.05
17 round(0.055, 2) -> 0.06
18 round(0.065, 2) -> 0.07
19 round(0.075, 2) -> 0.08
[all …]
H A Dbug25694.phpt7 echo "round 0.045 = " . round(0.045, 2) . "\n";
9 echo "round 0.055 = " . round(0.055, 2) . "\n";
11 echo "round 5.045 = " . round(5.045, 2) . "\n";
13 echo "round 5.055 = " . round(5.055, 2) . "\n";
15 echo "round 3.025 = " . round(3.025, 2) . "\n";
17 echo "round 4.025 = " . round(4.025, 2) . "\n";
21 round 0.045 = 0.05
24 round 0.055 = 0.06
27 round 5.045 = 5.05
30 round 5.055 = 5.06
[all …]
H A Dround.phpt18 LONG_MIN-1 ~== round(LONG_MIN - 0.6)
19 LONG_MIN ~== round(LONG_MIN - 0.4)
20 LONG_MIN ~== round(LONG_MIN + 0.4)
21 LONG_MIN+1 ~== round(LONG_MIN + 0.6)
26 LONG_MAX-1 ~== round(LONG_MAX - 0.6)
27 LONG_MAX ~== round(LONG_MAX - 0.4)
28 LONG_MAX ~== round(LONG_MAX + 0.4)
29 LONG_MAX+1 ~== round(LONG_MAX + 0.6)

Completed in 190 milliseconds

12