Home
last modified time | relevance | path

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

12

/PHP-5.5/
H A DNEWS4116 . Alternative fix for bug #52550, as applied to the round() function (signed
5715 - Changed round() to act more intuitively when rounding to a certain precision
5716 and round very large and very small exponents correctly. (Christian Seiler)
6887 - Fixed bug #42294 (Unified solution for round() based on C99 round). (Ilia)
H A DREADME.PARAMETER_PARSING_API93 not the other way round!
H A DREADME.RELEASE_PROCESS54 way round.
/PHP-5.5/ext/gmp/
H A Dgmp.c73 ZEND_ARG_INFO(0, round)
79 ZEND_ARG_INFO(0, round)
85 ZEND_ARG_INFO(0, round)
857 long round = GMP_ROUND_ZERO; local
859 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ZZ|l", &a_arg, &b_arg, &round) == FAILURE) {
863 switch (round) {
883 long round = GMP_ROUND_ZERO; local
885 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ZZ|l", &a_arg, &b_arg, &round) == FAILURE) {
889 switch (round) {
908 long round = GMP_ROUND_ZERO; local
[all …]
/PHP-5.5/ext/hash/
H A Dhash_gost.c30 #define round(k1, k2) \ macro
41 round(key[0], key[1]) \
42 round(key[2], key[3]) \
43 round(key[4], key[5]) \
44 round(key[6], key[7]) \
45 round(key[0], key[1]) \
46 round(key[2], key[3]) \
47 round(key[4], key[5]) \
48 round(key[6], key[7]) \
49 round(key[0], key[1]) \
[all …]
H A Dhash_snefru.c26 #define round(L, C, N, SB) \ macro
72 round(B15, B00, B01, t0); in Snefru()
73 round(B00, B01, B02, t0); in Snefru()
74 round(B01, B02, B03, t1); in Snefru()
75 round(B02, B03, B04, t1); in Snefru()
76 round(B03, B04, B05, t0); in Snefru()
77 round(B04, B05, B06, t0); in Snefru()
78 round(B05, B06, B07, t1); in Snefru()
79 round(B06, B07, B08, t1); in Snefru()
80 round(B07, B08, B09, t0); in Snefru()
[all …]
H A Dhash_tiger.c42 #define round(a,b,c,x,mul) \ macro
55 round(a,b,c,x0,mul) \
56 round(b,c,a,x1,mul) \
57 round(c,a,b,x2,mul) \
58 round(a,b,c,x3,mul) \
59 round(b,c,a,x4,mul) \
60 round(c,a,b,x5,mul) \
61 round(a,b,c,x6,mul) \
62 round(b,c,a,x7,mul)
/PHP-5.5/ext/mysqli/tests/
H A Dbug42378.phpt163 $expected[$k] = number_format(round($v), 0, '.', ',');
168 $expected[$k] = number_format(round($v), 0, '.', ',');
173 $expected[$k] = number_format(round($v), 0, '.', ',');
178 $expected[$k] = number_format(round($v), 0, '.', ',');
H A Dmysqli_stmt_bind_result_format.phpt165 $expected[$k] = number_format(round($v), 0, '.', ',');
170 $expected[$k] = number_format(round($v), 0, '.', ',');
175 $expected[$k] = number_format(round($v), 0, '.', ',');
180 $expected[$k] = number_format(round($v), 0, '.', ',');
185 $expected[$k] = number_format(round($v), 0, '.', ',');
190 $expected[$k] = number_format(round($v), 0, '.', ',');
195 $expected[$k] = number_format(round($v), 0, '.', ',');
200 $expected[$k] = number_format(round($v), 0, '.', ',');
/PHP-5.5/ext/oci8/tests/
H A Dconn_attr.inc106 //Do a round-trip here
H A Drefcur_prefetch_3.phpt52 // Calculate round-trips
/PHP-5.5/ext/pcre/pcrelib/
H A DChangeLog1761 43. Updated configure.ac to put in more quoting round AC_LANG_PROGRAM etc. so
2500 22. There was a missing #ifdef SUPPORT_UTF8 round one of the variables in the
4093 find a way round (a) in the future.
4824 been the other way round. Some of this was related to change 7 above.
H A DHACKING395 A pair of non-capturing round brackets is wrapped round each expression at
399 myself, can be round, square, curly, or pointy. Hence this usage rather than
/PHP-5.5/ext/pcre/pcrelib/doc/
H A Dpcre.txt1116 has been implemented to work round the problem of limited stack size.
6043 Subpatterns are delimited by parentheses (round brackets), which can be
6704 of a lookbehind assertion to get round the fixed-length restriction.
10187 (for example) to the compile command to get round this problem.
/PHP-5.5/ext/phar/tests/files/
H A Dpear2coverage.phar.php339 $percent = round(($covered / $total) * 100);
1155 return round(($coverage[0] / $coverage[1]) * 100);
/PHP-5.5/ext/phar/tests/tar/
H A Dtar_003.phpt42 echo "second round\n";
64 second round
/PHP-5.5/ext/soap/interop/
H A Dtest.utility.php47 $f1 = round($f1, $d);
48 $f2 = round($f2, $d);
/PHP-5.5/ext/sqlite3/libsqlite/
H A Dsqlite3.c98153 FUNCTION(round, 1, 0, 0, roundFunc ),
98154 FUNCTION(round, 2, 0, 0, roundFunc ),
/PHP-5.5/ext/standard/
H A Dbasic_functions.c2902 PHP_FE(round, arginfo_round)
H A Dcrypt_freesec.c382 int shifts, round; in des_setkey() local
432 for (round = 0; round < 16; round++) { in des_setkey()
435 shifts += key_shifts[round]; in des_setkey()
440 data->de_keysl[15 - round] = in des_setkey()
441 data->en_keysl[round] = comp_maskl[0][(t0 >> 21) & 0x7f] in des_setkey()
450 data->de_keysr[15 - round] = in des_setkey()
451 data->en_keysr[round] = comp_maskr[0][(t0 >> 21) & 0x7f] in des_setkey()
472 int round; in do_des() local
518 round = 16; in do_des()
519 while (round--) { in do_des()
H A Dmath.c343 PHP_FUNCTION(round) in PHP_FUNCTION() argument
H A Dphp_math.h57 PHP_FUNCTION(round);
/PHP-5.5/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 462 milliseconds

12