coan 4.2.4
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  int_spec

Defines

#define RANK(int_type)   ((int_type) >> 16)
#define SIZEOF(int_type)   (((int_type) >> 8) & ~0xff00)
#define IS_SIGNED(int_type)   ((int_type) & 1)
#define MAKE_SIGNED(int_type)   ((int_type) | 1)
#define MAKE_UNSIGNED(int_type)   ((int_type) & ~1)
#define INT_UNION_INITOR   {0LL}
#define INT_SPEC_INITOR   {INT_UNION_INITOR,INT_UNDEF}

Typedefs

typedef struct int_spec int_spec_t
typedef int_spec_tinteger_bin_op_t )(int_spec_t const *, int_spec_t const *)

Enumerations

enum  int_type {
  INT_UNDEF = 0, INT_CHAR = (1 << 16) | (sizeof(char) << 8) | 1, INT_UCHAR = (1 << 16) | sizeof(char) << 8, INT_SHORT = (2 << 16) | (sizeof(short) << 8) | 1,
  INT_USHORT = (2 << 16) | sizeof(short) << 8, INT_INT = (3 << 16) | (sizeof(int) << 8) | 1, INT_UINT = (3 << 16) | sizeof(int) << 8, INT_LONG = (4 << 16) | (sizeof(long) << 8) | 1,
  INT_ULONG = (4 << 16) | sizeof(long) << 8, INT_LLONG = (5 << 16) | (sizeof(long long) << 8) | 1, INT_ULLONG = (5 << 16) | sizeof(long long) << 8, INT_TOO_BIG = 6 << 16,
  INT_INSOLUBLE = INT_TOO_BIG
}

Functions

int_spec_t lt (int_spec_t const *l, int_spec_t const *r)
int_spec_t gt (int_spec_t const *l, int_spec_t const *r)
int_spec_t le (int_spec_t const *l, int_spec_t const *r)
int_spec_t ge (int_spec_t const *l, int_spec_t const *r)
int_spec_t eq (int_spec_t const *l, int_spec_t const *r)
int_spec_t ne (int_spec_t const *l, int_spec_t const *r)
int_spec_t bit_and (int_spec_t const *l, int_spec_t const *r)
int_spec_t bit_or (int_spec_t const *l, int_spec_t const *r)
int_spec_t bit_xor (int_spec_t const *l, int_spec_t const *r)
int_spec_t complement (int_spec_t const *int_spec)
int_spec_t minus (int_spec_t const *int_spec)
int_spec_t lshift (int_spec_t const *l, int_spec_t const *r)
int_spec_t rshift (int_spec_t const *l, int_spec_t const *r)
int_spec_t add (int_spec_t const *l, int_spec_t const *r)
int_spec_t subtract (int_spec_t const *l, int_spec_t const *r)
int_spec_t multiply (int_spec_t const *l, int_spec_t const *r)
int_spec_t divide (int_spec_t const *l, int_spec_t const *r)
int_spec_t modulus (int_spec_t const *l, int_spec_t const *r)
int_spec_t boolean_and (int_spec_t const *l, int_spec_t const *r)
int_spec_t boolean_or (int_spec_t const *l, int_spec_t const *r)
int_spec_t negate (int_spec_t const *int_spec)

Detailed Description

This file provides the Integer Operations interface.

Definition in file integer_ops.h.

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines