/PHP-8.2/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)); 27 var_dump(epsilon_equal( LONG_MAX , ceil(LONG_MAX - 0.5) )); 28 var_dump(epsilon_equal( LONG_MAX+1 , ceil(LONG_MAX + 0.5) )); 29 var_dump(epsilon_equal( LONG_MAX-1 , round(LONG_MAX - 0.6) )); 30 var_dump(epsilon_equal( LONG_MAX , round(LONG_MAX - 0.4) )); 31 var_dump(epsilon_equal( LONG_MAX , round(LONG_MAX + 0.4) )); 32 var_dump(epsilon_equal( LONG_MAX+1 , round(LONG_MAX + 0.6) )); 33 var_dump(epsilon_equal( 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)); 128 var_dump(LONG_MAX-1 === pow(LONG_MAX-1,1)); 130 var_dump(epsilon_equal( (LONG_MAX-1)*(LONG_MAX-1) , pow(LONG_MAX-1,2) )); 132 var_dump((float)(LONG_MAX-1) === pow(LONG_MAX-1,1.0)); 134 var_dump(epsilon_equal( (LONG_MAX-1)*(LONG_MAX-1) , pow(LONG_MAX-1,2.0) )); 136 var_dump(LONG_MAX === pow(LONG_MAX,1)); 138 var_dump(epsilon_equal( LONG_MAX*LONG_MAX , pow(LONG_MAX,2) )); 140 var_dump((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-8.2/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-8.2/ext/bcmath/libbcmath/src/ |
H A D | num2long.c | 59 if (val > LONG_MAX/BASE) { 64 if (val > LONG_MAX - n) {
|
H A D | bcmath.h | 84 #ifndef LONG_MAX 85 #define LONG_MAX 0x7ffffff macro
|
/PHP-8.2/ext/date/lib/ |
H A D | timelib_private.h | 155 #ifndef LONG_MAX 156 #define LONG_MAX 2147483647L macro 160 #define LONG_MIN (- LONG_MAX - 1)
|
/PHP-8.2/Zend/tests/ |
H A D | bug54547.phpt | 2 Bug #54547: wrong equality of string numbers near LONG_MAX with 64-bit longs
|
/PHP-8.2/main/ |
H A D | php.h | 234 #ifndef LONG_MAX 235 #define LONG_MAX 2147483647L macro 239 #define LONG_MIN (- LONG_MAX - 1)
|
/PHP-8.2/ext/soap/tests/bugs/ |
H A D | bug36999.phpt | 2 Bug #36999 (xsd:long values clamped to LONG_MAX instead of using double)
|
/PHP-8.2/ext/calendar/ |
H A D | julian.c | 171 if (sdn > (LONG_MAX - JULIAN_SDN_OFFSET * 4 + 1) / 4 || sdn < LONG_MIN / 4) { in SdnToJulian()
|
/PHP-8.2/Zend/ |
H A D | zend_portability.h | 424 #ifndef LONG_MAX 425 # define LONG_MAX 2147483647L macro 429 # define LONG_MIN (- LONG_MAX - 1)
|
H A D | zend_strtod.c | 283 #ifndef LONG_MAX 284 #define LONG_MAX 2147483647 macro
|
/PHP-8.2/ext/intl/dateformat/ |
H A D | dateformat_parse.c | 54 if (result > (double)LONG_MAX || result < (double)LONG_MIN) { in internal_parse_to_timestamp()
|
/PHP-8.2/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-8.2/ext/oci8/ |
H A D | oci8_lob.c | 100 if (connection->descriptor_count == LONG_MAX) { in php_oci_lob_create()
|
/PHP-8.2/ext/sqlite3/ |
H A D | sqlite3.c | 626 #if LONG_MAX <= 2147483647 in sqlite_value_to_zval() 632 #if LONG_MAX <= 2147483647 in sqlite_value_to_zval()
|
/PHP-8.2/main/streams/ |
H A D | userspace.c | 972 if (new_size >= 0 && new_size <= (ptrdiff_t)LONG_MAX) { in php_userstreamop_set_option()
|
/PHP-8.2/ext/fileinfo/libmagic/ |
H A D | apprentice.c | 293 return CAST(off_t, LONG_MAX); in maxoff_t()
|
/PHP-8.2/ext/sodium/ |
H A D | libsodium.c | 3124 if (ret != 0 || unpadded_len > LONG_MAX) { in PHP_FUNCTION()
|
/PHP-8.2/ext/openssl/ |
H A D | openssl.c | 3211 if (num_days < 0 || num_days > LONG_MAX / 86400) { in PHP_FUNCTION() 3212 php_error_docref(NULL, E_WARNING, "Days must be between 0 and %ld", LONG_MAX / 86400); in PHP_FUNCTION()
|