
#ifndef	_X_TYPES
#define	_X_TYPES	_X_TYPES

#include <x_defs.h>

#ifdef	USE_DEFINE_FOR_X_TYPES

#define	Real64		double
#define	Real32		float

#if !defined(__osf__) || !defined(__alpha)
#define	Int32		long int
#define	Uns32		unsigned long
#else
#define	Int32		int
#define	Uns32		unsigned
#endif

#define	Int16		short int
#define	Uns16		unsigned short

#define	Int8		signed char
#define	Uns8		unsigned char

#define	UChar		unsigned char
#define	SChar		signed char

#else

typedef	double		Real64;		/* 64 Bit float value */
typedef	float		Real32;		/* 32 Bit float value */

#if !defined(__osf__) || !defined(__alpha)
typedef	long int	Int32;		/* 32 Bit signed integer */
typedef	unsigned long	Uns32;		/* 32 Bit unsigned integer */
#else
typedef	int		Int32;
typedef	unsigned	Uns32;
#endif

typedef	short int	Int16;		/* 16 Bit signed integer */
typedef	short unsigned	Uns16;		/* 16 Bit unsigned integer */

typedef	unsigned char	UChar;		/* character (always 8 Bit) */
typedef	signed char	SChar;

typedef	signed char	Int8;		/* 8 Bit signed integer */
typedef	unsigned char	Uns8;		/* 8 Bit unsigned integer */

#endif	/* defined(USE_DEFINE_FOR_X_TYPES) */

#include <x_errno.h>

#ifdef	CALC_WITH_Real64
#ifdef	USE_DEFINE_FOR_X_TYPES
#define	Real	Real64
#else
typedef	Real64	Real;
#endif
#define MAXREAL	MAXReal64
#define MINREAL MINReal64
#define REAL_DEFINED
#else
#ifdef	USE_DEFINE_FOR_X_TYPES
#define	Real	Real32
#else
typedef	Real32	Real;
#endif
#define MAXREAL	MAXReal32
#define	MINREAL	MINReal32
#define REAL_DEFINED
#endif

#endif	/* !_X_TYPES */

/************ end of $RCSfile$ ******************/
