diff options
Diffstat (limited to 'Zend')
-rw-r--r-- | Zend/zend_float.c | 2 | ||||
-rw-r--r-- | Zend/zend_operators.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/Zend/zend_float.c b/Zend/zend_float.c index 9e9f7bb651..db8d000dd4 100644 --- a/Zend/zend_float.c +++ b/Zend/zend_float.c @@ -31,7 +31,7 @@ ZEND_API void zend_init_fpu(TSRMLS_D) /* {{{ */ EG(saved_fpu_cw_ptr) = (void*)&EG(saved_fpu_cw); } XPFPA_STORE_CW(EG(saved_fpu_cw_ptr)); -// XPFPA_SWITCH_DOUBLE(); + XPFPA_SWITCH_DOUBLE(); #else EG(saved_fpu_cw_ptr) = NULL; #endif diff --git a/Zend/zend_operators.h b/Zend/zend_operators.h index e599ca4971..8e3a37eee7 100644 --- a/Zend/zend_operators.h +++ b/Zend/zend_operators.h @@ -474,6 +474,7 @@ static zend_always_inline int fast_increment_function(zval *op1) "0:" : : "r"(op1)); +#else if (UNEXPECTED(Z_LVAL_P(op1) == LONG_MAX)) { /* switch to double */ Z_DVAL_P(op1) = (double)LONG_MAX + 1.0; |