pike.git / src / encode.c

version» Context lines:

pike.git/src/encode.c:18:   #include "error.h"   #include "operators.h"   #include "builtin_functions.h"   #include "module_support.h"   #include "fsort.h"   #include "threads.h"   #include "stuff.h"   #include "version.h"   #include "bignum.h"    - RCSID("$Id: encode.c,v 1.63 2000/08/10 09:01:00 grubba Exp $"); + RCSID("$Id: encode.c,v 1.64 2000/08/10 09:51:51 per Exp $");      /* #define ENCODE_DEBUG */      #ifdef ENCODE_DEBUG   #define EDB(X) X   #else   #define EDB(X)   #endif      /* The sp macro conflicts with Solaris 2.5.1's <sys/conf.h>. */
pike.git/src/encode.c:57:   #undef STACK_POINTER_WAS_DEFINED   #endif /* STACKPOINTER_WAS_DEFINED */      #ifdef HAVE_FREXP   #define FREXP frexp   #else   double FREXP(double x, int *exp)   {    double ret;    *exp=(int)ceil(log(fabs(x))/log(2.0)); -  ret=(x*pow(2.0,(float)-*exp)); +  ret=(x*pow(2.0,(FLOAT_TYPE)-*exp));    return ret;   }   #endif      #if HAVE_LDEXP   #define LDEXP ldexp   #else   double LDEXP(double x, int exp)   {    return x * pow(2.0,(double)exp);