/PHP-5.6/ext/standard/tests/math/ |
H A D | round.phpt | 7 define('LONG_MIN', -LONG_MAX - 1); 8 printf("%d,%d,%d,%d\n",is_int(LONG_MIN ),is_int(LONG_MAX ), 9 is_int(LONG_MIN-1),is_int(LONG_MAX+1)); 24 LONG_MAX ~== ceil(LONG_MAX - 0.5) 25 LONG_MAX+1 ~== ceil(LONG_MAX + 0.5) 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) 30 LONG_MAX-1 ~== floor(LONG_MAX - 0.5) [all …]
|
H A D | pow.phpt | 7 define('LONG_MIN', -LONG_MAX - 1); 8 printf("%d,%d,%d,%d\n",is_int(LONG_MIN ),is_int(LONG_MAX ), 9 is_int(LONG_MIN-1),is_int(LONG_MAX+1)); 125 LONG_MAX-1 === pow(LONG_MAX-1,1) 127 (LONG_MAX-1)*(LONG_MAX-1) ~== pow(LONG_MAX-1,2) 129 (float)(LONG_MAX-1) === pow(LONG_MAX-1,1.0) 131 (LONG_MAX-1)*(LONG_MAX-1) ~== pow(LONG_MAX-1,2.0) 133 LONG_MAX === pow(LONG_MAX,1) 135 LONG_MAX*LONG_MAX ~== pow(LONG_MAX,2) 137 (float)LONG_MAX === pow(LONG_MAX,1.0) [all …]
|
H A D | abs.phpt | 6 define('LONG_MAX', is_int(5000000000)? 9223372036854775807 : 0x7FFFFFFF); 7 define('LONG_MIN', -LONG_MAX - 1); 8 printf("%d,%d,%d,%d\n",is_int(LONG_MIN ),is_int(LONG_MAX ), 9 is_int(LONG_MIN-1),is_int(LONG_MAX+1));
|
/PHP-5.6/tests/lang/ |
H A D | bug24054.phpt | 6 define('LONG_MAX', is_int(5000000000)? 9223372036854775807 : 0x7FFFFFFF); 7 define('LONG_MIN', -LONG_MAX - 1); 8 printf("%d,%d,%d,%d\n",is_int(LONG_MIN ),is_int(LONG_MAX ), 9 is_int(LONG_MIN-1),is_int(LONG_MAX+1)); 11 $i = LONG_MAX;
|
/PHP-5.6/ext/sybase_ct/tests/ |
H A D | test_long.phpt | 2 Sybase-CT select LONG_MAX / LONG_MIN 14 define('LONG_MAX', is_int(2147483648) ? 9223372036854775807 : 2147483647); 15 define('LONG_MIN', -LONG_MAX - 1); 22 var_dump(sybase_query('insert test_long values ('.(LONG_MAX - 1).')')); 23 var_dump(sybase_query('insert test_long values ('.(LONG_MAX).')')); 24 var_dump(sybase_query('insert test_long values ('.(LONG_MAX + 1).')'));
|
H A D | test_types.phpt | 14 define('LONG_MAX', is_int(2147483648) ? 9223372036854775807 : 2147483647); 15 define('LONG_MIN', -LONG_MAX - 1); 22 '.(LONG_MAX).' as "integer_max", 23 '.(LONG_MAX + 1).' as "integer_max_exceed",
|
/PHP-5.6/ext/bcmath/libbcmath/src/ |
H A D | num2long.c | 57 for (index=num->n_len; (index>0) && (val<=(LONG_MAX/BASE)); index--)
|
H A D | bcmath.h | 85 #ifndef LONG_MAX 86 #define LONG_MAX 0x7ffffff macro
|
/PHP-5.6/ext/date/lib/ |
H A D | timelib.h | 57 #ifndef LONG_MAX 58 #define LONG_MAX 2147483647L macro 62 #define LONG_MIN (- LONG_MAX - 1)
|
/PHP-5.6/Zend/tests/ |
H A D | bug54547.phpt | 2 Bug #54547: wrong equality of string numbers near LONG_MAX with 64-bit longs
|
/PHP-5.6/ext/calendar/ |
H A D | julian.c | 171 if (sdn > (LONG_MAX - JULIAN_SDN_OFFSET * 4 + 1) / 4 || sdn < LONG_MIN / 4) { in SdnToJulian()
|
H A D | gregor.c | 151 sdn > (LONG_MAX - 4 * GREGOR_SDN_OFFSET) / 4) { in SdnToGregorian()
|
/PHP-5.6/ext/intl/collator/ |
H A D | collator_is_numeric.c | 187 cutoff = neg ? -(unsigned long)LONG_MIN : LONG_MAX; 211 acc = neg ? LONG_MIN : LONG_MAX;
|
/PHP-5.6/main/ |
H A D | php.h | 218 #ifndef LONG_MAX 219 #define LONG_MAX 2147483647L macro 223 #define LONG_MIN (- LONG_MAX - 1)
|
/PHP-5.6/ext/soap/tests/bugs/ |
H A D | bug36999.phpt | 2 Bug #36999 (xsd:long values clamped to LONG_MAX instead of using double)
|
/PHP-5.6/ext/intl/dateformat/ |
H A D | dateformat_parse.c | 57 if(result > LONG_MAX || result < -LONG_MAX) { in internal_parse_to_timestamp()
|
/PHP-5.6/Zend/ |
H A D | zend_multiply.h | 75 if (__result > LONG_MAX || __result < LONG_MIN) { \
|
H A D | zend.h | 261 #ifndef LONG_MAX 262 #define LONG_MAX 2147483647L macro 266 #define LONG_MIN (- LONG_MAX - 1)
|
H A D | zend_operators.h | 79 if (d > LONG_MAX || d < LONG_MIN) { in END_EXTERN_C() 97 if (d >= LONG_MAX || d < LONG_MIN) { 540 if (UNEXPECTED(Z_LVAL_P(op1) == LONG_MAX)) { in fast_increment_function() 542 Z_DVAL_P(op1) = (double)LONG_MAX + 1.0; in fast_increment_function()
|
H A D | zend_hash.h | 338 if (idx-1 > LONG_MAX) { /* overflow */ \ in END_EXTERN_C() 342 } else if (idx > LONG_MAX) { /* overflow */ \ in END_EXTERN_C()
|
/PHP-5.6/ext/mysqli/ |
H A D | mysqli_priv.h | 103 if ((__val) < LONG_MAX) { \
|
H A D | mysqli_prop.c | 87 if (l < LONG_MAX) {\ 181 if (rc < LONG_MAX) { in link_affected_rows_read() 383 if (rc < LONG_MAX) { in stmt_affected_rows_read()
|
/PHP-5.6/ext/intl/formatter/ |
H A D | formatter_parse.c | 88 if(val64 > LONG_MAX || val64 < LONG_MIN) { in PHP_FUNCTION()
|
/PHP-5.6/ext/standard/ |
H A D | math.c | 805 return LONG_MAX; in _php_math_basetolong() 833 cutoff = LONG_MAX / base; in _php_math_basetozval() 834 cutlim = LONG_MAX % base; in _php_math_basetozval()
|
/PHP-5.6/ext/pdo/ |
H A D | pdo.c | 339 while ((pdo_uint64_t)i64 > (pdo_uint64_t)LONG_MAX) { in php_pdo_int64_to_str()
|