Back to index

php5  5.3.10
Functions
zend_float.c File Reference
#include "zend.h"
#include "zend_compile.h"
#include "zend_float.h"

Go to the source code of this file.

Functions

ZEND_API void zend_init_fpu (TSRMLS_D)
ZEND_API void zend_shutdown_fpu (TSRMLS_D)
ZEND_API void zend_ensure_fpu_mode (TSRMLS_D)

Function Documentation

Definition at line 58 of file zend_float.c.

Definition at line 25 of file zend_float.c.

{
#if XPFPA_HAVE_CW
       XPFPA_DECLARE
       
       if (!EG(saved_fpu_cw)) {
              EG(saved_fpu_cw) = emalloc(sizeof(XPFPA_CW_DATATYPE));
       }
       XPFPA_STORE_CW(EG(saved_fpu_cw));
       XPFPA_SWITCH_DOUBLE();
#else
       if (EG(saved_fpu_cw)) {
              efree(EG(saved_fpu_cw));
       }
       EG(saved_fpu_cw) = NULL;
#endif
}

Here is the caller graph for this function:

Definition at line 44 of file zend_float.c.

{
#if XPFPA_HAVE_CW
       if (EG(saved_fpu_cw)) {
              XPFPA_RESTORE_CW(EG(saved_fpu_cw));
       }
#endif
       if (EG(saved_fpu_cw)) {
              efree(EG(saved_fpu_cw));
              EG(saved_fpu_cw) = NULL;
       }
}

Here is the caller graph for this function: