Home
last modified time | relevance | path

Searched refs:zend_isnan (Results 1 – 12 of 12) sorted by relevance

/PHP-7.1/Zend/
H A Dconfigure.in72 #ifndef zend_isnan
74 #define zend_isnan(a) isnan(a)
76 #define zend_isnan(a) ((fpclass(a) == FP_SNAN) || (fpclass(a) == FP_QNAN))
78 #define zend_isnan(a) ((a) != (a))
100 #define zend_finite(a) (zend_isnan(a) ? 0 : zend_isinf(a) ? 0 : 1)
H A Dzend_config.w32.h57 #define zend_isnan(x) _isnan(x) macro
H A Dzend_operators.h106 if (EXPECTED(zend_finite(d)) && EXPECTED(!zend_isnan(d))) { in zend_dval_to_lval()
117 if (UNEXPECTED(!zend_finite(d)) || UNEXPECTED(zend_isnan(d))) { in zend_dval_to_lval()
128 if (UNEXPECTED(!zend_finite(d)) || UNEXPECTED(zend_isnan(d))) { in zend_dval_to_lval_cap()
H A Dzend_API.c324 if (UNEXPECTED(zend_isnan(Z_DVAL_P(arg)))) { in zend_parse_arg_long_weak()
338 if (UNEXPECTED(zend_isnan(d))) { in zend_parse_arg_long_weak()
373 if (UNEXPECTED(zend_isnan(Z_DVAL_P(arg)))) { in zend_parse_arg_long_cap_weak()
383 if (UNEXPECTED(zend_isnan(d))) { in zend_parse_arg_long_cap_weak()
/PHP-7.1/ext/standard/
H A Dconfig.m4364 #define zend_isnan(a) isnan(a)
366 #define zend_isnan(a) ((fpclass(a) == FP_SNAN) || (fpclass(a) == FP_QNAN))
368 #define zend_isnan(a) 0
373 return zend_isnan(atof("NAN")) ? 0 : 1;
464 #define zend_isnan(a) isnan(a)
466 #define zend_isnan(a) ((fpclass(a) == FP_SNAN) || (fpclass(a) == FP_QNAN))
468 #define zend_isnan(a) 0
477 return zend_isnan(HUGE_VAL + -HUGE_VAL) ? 0 : 1;
H A Dmath.c201 if (!zend_finite(tmp_value) || zend_isnan(tmp_value)) { in _php_math_round()
615 RETURN_BOOL(zend_isnan(dval)); in PHP_FUNCTION()
H A Dformatted_print.c235 if (zend_isnan(number)) { in php_sprintf_appenddouble()
/PHP-7.1/main/
H A Dspprintf.c632 if (zend_isnan(fp_num)) { in xbuf_format_converter()
677 if (zend_isnan(fp_num)) { in xbuf_format_converter()
H A Dsnprintf.c1024 if (zend_isnan(fp_num)) { in format_converter()
1069 if (zend_isnan(fp_num)) { in format_converter()
/PHP-7.1/ext/json/
H A Djson_encoder.c98 return !zend_isinf(d) && !zend_isnan(d); in php_json_is_valid_double()
/PHP-7.1/sapi/phpdbg/
H A Dphpdbg_out.c617 if (zend_isnan(fp_num)) { in format_converter()
658 if (zend_isnan(fp_num)) { in format_converter()
/PHP-7.1/
H A Dconfigure.in77 #ifndef zend_isnan
79 #define zend_isnan(a) isnan(a)
81 #define zend_isnan(a) ((fpclass(a) == FP_SNAN) || (fpclass(a) == FP_QNAN))
83 #define zend_isnan(a) ((a) != (a))
105 #define zend_finite(a) (zend_isnan(a) ? 0 : zend_isinf(a) ? 0 : 1)

Completed in 48 milliseconds