Home
last modified time | relevance | path

Searched refs:LONG_MAX (Results 1 – 25 of 25) sorted by relevance

/PHP-7.3/ext/standard/tests/math/
H A Dround.phpt7 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 Dpow.phpt7 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 Dabs.phpt6 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.3/tests/lang/
H A Dbug24054.phpt6 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.3/ext/date/lib/
H A Dtimelib_private.h122 #ifndef LONG_MAX
123 #define LONG_MAX 2147483647L macro
127 #define LONG_MIN (- LONG_MAX - 1)
/PHP-7.3/ext/bcmath/libbcmath/src/
H A Dnum2long.c60 if (val > LONG_MAX/BASE) {
65 if (val > LONG_MAX - n) {
H A Dbcmath.h84 #ifndef LONG_MAX
85 #define LONG_MAX 0x7ffffff macro
/PHP-7.3/Zend/tests/
H A Dbug54547.phpt2 Bug #54547: wrong equality of string numbers near LONG_MAX with 64-bit longs
/PHP-7.3/ext/calendar/
H A Dgregor.c151 sdn > (LONG_MAX - 4 * GREGOR_SDN_OFFSET) / 4) { in SdnToGregorian()
H A Djulian.c171 if (sdn > (LONG_MAX - JULIAN_SDN_OFFSET * 4 + 1) / 4 || sdn < LONG_MIN / 4) { in SdnToJulian()
/PHP-7.3/ext/soap/tests/bugs/
H A Dbug36999.phpt2 Bug #36999 (xsd:long values clamped to LONG_MAX instead of using double)
/PHP-7.3/ext/intl/dateformat/
H A Ddateformat_parse.c57 if(result > LONG_MAX || result < -LONG_MAX) { in internal_parse_to_timestamp()
/PHP-7.3/main/
H A Dphp.h273 #ifndef LONG_MAX
274 #define LONG_MAX 2147483647L macro
278 #define LONG_MIN (- LONG_MAX - 1)
/PHP-7.3/Zend/
H A Dzend_portability.h428 #ifndef LONG_MAX
429 # define LONG_MAX 2147483647L macro
433 # define LONG_MIN (- LONG_MAX - 1)
H A DZend.m4124 if ((long) 18e18 == correct) { /* On 64-bit, only check between LONG_MAX and ULONG_MAX */
H A Dzend_strtod.c283 #ifndef LONG_MAX
284 #define LONG_MAX 2147483647 macro
/PHP-7.3/ext/mysqli/tests/
H A Dbug52891.phpt2 Bug #52891 (Wrong data inserted with mysqli/mysqlnd when using bind_param,value > LONG_MAX)
/PHP-7.3/ext/zip/lib/
H A Dzipint.h155 #define ZIP_FSEEK_MAX LONG_MAX
/PHP-7.3/
H A DREADME.PARAMETER_PARSING_API69 …L - long, limits out-of-range numbers to LONG_MAX/LONG_MIN (zend_long, ZEND_LONG_MAX/ZEND_LONG_MI…
H A DNEWS1570 . Fixed bug #76574 (use of undeclared identifiers INT_MAX and LONG_MAX). (cmb)
/PHP-7.3/ext/oci8/
H A Doci8_lob.c102 if (connection->descriptor_count == LONG_MAX) { in php_oci_lob_create()
/PHP-7.3/ext/sqlite3/
H A Dsqlite3.c595 #if LONG_MAX <= 2147483647 in sqlite_value_to_zval()
601 #if LONG_MAX <= 2147483647 in sqlite_value_to_zval()
/PHP-7.3/main/streams/
H A Duserspace.c998 if (new_size >= 0 && new_size <= (ptrdiff_t)LONG_MAX) { in php_userstreamop_set_option()
/PHP-7.3/ext/sodium/
H A Dlibsodium.c3499 if (ret != 0 || unpadded_len > LONG_MAX) { in PHP_FUNCTION()
/PHP-7.3/ext/mbstring/oniguruma/src/
H A Dregparse.c6850 r = parse_long(enc, buf, bufend, 1, LONG_MAX, &rl); in parse_callout_args()

Completed in 87 milliseconds