added type REAL (float on 32bit, double on 64bit)
This commit is contained in:
parent
21287f4f3a
commit
72aeebfeb7
@ -21,7 +21,8 @@
|
|||||||
* Version: $Id$
|
* Version: $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define LINUX
|
// JIT used
|
||||||
|
//#define JIT
|
||||||
#if defined __linux__
|
#if defined __linux__
|
||||||
#include <sclinux.h>
|
#include <sclinux.h>
|
||||||
#endif
|
#endif
|
||||||
@ -120,6 +121,14 @@ extern "C" {
|
|||||||
#error Unsupported cell size (SMALL_CELL_SIZE)
|
#error Unsupported cell size (SMALL_CELL_SIZE)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if SMALL_CELL_SIZE==32
|
||||||
|
#define REAL float
|
||||||
|
#elif SMALL_CELL_SIZE==64
|
||||||
|
#define REAL double
|
||||||
|
#else
|
||||||
|
#error Unsupported cell size
|
||||||
|
#endif
|
||||||
|
|
||||||
#define UNPACKEDMAX ((1 << (sizeof(cell)-1)*8) - 1)
|
#define UNPACKEDMAX ((1 << (sizeof(cell)-1)*8) - 1)
|
||||||
|
|
||||||
struct tagAMX;
|
struct tagAMX;
|
||||||
|
Loading…
Reference in New Issue
Block a user