/PHP-7.0/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-7.0/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-7.0/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-7.0/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-7.0/Zend/tests/ |
H A D | bug54547.phpt | 2 Bug #54547: wrong equality of string numbers near LONG_MAX with 64-bit longs
|
/PHP-7.0/main/ |
H A D | php.h | 218 #ifndef LONG_MAX 219 #define LONG_MAX 2147483647L macro 223 #define LONG_MIN (- LONG_MAX - 1)
|
/PHP-7.0/ext/intl/dateformat/ |
H A D | dateformat_parse.c | 57 if(result > LONG_MAX || result < -LONG_MAX) { in internal_parse_to_timestamp()
|
/PHP-7.0/ext/calendar/ |
H A D | gregor.c | 151 sdn > (LONG_MAX - 4 * GREGOR_SDN_OFFSET) / 4) { in SdnToGregorian()
|
H A D | julian.c | 171 if (sdn > (LONG_MAX - JULIAN_SDN_OFFSET * 4 + 1) / 4 || sdn < LONG_MIN / 4) { in SdnToJulian()
|
/PHP-7.0/ext/soap/tests/bugs/ |
H A D | bug36999.phpt | 2 Bug #36999 (xsd:long values clamped to LONG_MAX instead of using double)
|
/PHP-7.0/Zend/ |
H A D | zend_portability.h | 419 #ifndef LONG_MAX 420 # define LONG_MAX 2147483647L macro 424 # define LONG_MIN (- LONG_MAX - 1)
|
H A D | Zend.m4 | 126 if ((long) 18e18 == correct) { /* On 64-bit, only check between LONG_MAX and ULONG_MAX */
|
H A D | zend_strtod.c | 283 #ifndef LONG_MAX 284 #define LONG_MAX 2147483647 macro
|
/PHP-7.0/ext/mysqli/tests/ |
H A D | bug52891.phpt | 2 Bug #52891 (Wrong data inserted with mysqli/mysqlnd when using bind_param,value > LONG_MAX)
|
/PHP-7.0/ext/zip/lib/ |
H A D | zipint.h | 155 #define ZIP_FSEEK_MAX LONG_MAX
|
/PHP-7.0/ |
H A D | README.PARAMETER_PARSING_API | 62 …L - long, limits out-of-range numbers to LONG_MAX/LONG_MIN (zend_long, ZEND_LONG_MAX/ZEND_LONG_MI…
|
H A D | UPGRADING.INTERNALS | 116 …- ZEND_LONG_MAX replaces LONG_MAX where appr…
|
/PHP-7.0/ext/oci8/ |
H A D | oci8_lob.c | 102 if (connection->descriptor_count == LONG_MAX) { in php_oci_lob_create()
|
/PHP-7.0/ext/sqlite3/ |
H A D | sqlite3.c | 594 #if LONG_MAX <= 2147483647 600 #if LONG_MAX <= 2147483647
|
/PHP-7.0/main/streams/ |
H A D | userspace.c | 1007 if (new_size >= 0 && new_size <= (ptrdiff_t)LONG_MAX) { in php_userstreamop_set_option()
|
/PHP-7.0/ext/pcre/pcrelib/ |
H A D | pcre_internal.h | 219 #define PCRE_INT32_MAX LONG_MAX
|