Browse Source

Remove needless roundl define.

nfactor-troky
Con Kolivas 13 years ago
parent
commit
336dbd5c98
  1. 4
      miner.h

4
miner.h

@ -159,10 +159,6 @@ void *alloca (size_t);
#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0])) #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]))
#endif #endif
#ifndef roundl
#define roundl(x) (long double)((long long)((x==0)?0.0:((x)+((x)>0)?0.5:-0.5)))
#endif
enum alive { enum alive {
LIFE_WELL, LIFE_WELL,
LIFE_SICK, LIFE_SICK,

Loading…
Cancel
Save