Back to index

php5  5.3.10
Defines
zend_multiply.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define ZEND_SIGNED_MULTIPLY_LONG(a, b, lval, dval, usedval)

Define Documentation

#define ZEND_SIGNED_MULTIPLY_LONG (   a,
  b,
  lval,
  dval,
  usedval 
)
Value:
do {          \
       long   __lres  = (a) * (b);                                                                       \
       long double __dres  = (long double)(a) * (long double)(b);                                               \
       long double __delta = (long double) __lres - __dres;                                              \
       if ( ((usedval) = (( __dres + __delta ) != __dres))) {                       \
              (dval) = __dres;                                                                                  \
       } else {                                                                                                        \
              (lval) = __lres;                                                                                  \
       }                                                                                                                      \
} while (0)

Definition at line 49 of file zend_multiply.h.