Statistics
| Revision:

root / logic / trunk / src / logics / operators.h @ 36

History | View | Annotate | Download (749 Bytes)

1 32 Janez1
#ifndef OPERATORS_H_INCLUDED
2
#define OPERATORS_H_INCLUDED
3
4 36 Janez1
#define TOP_NODE           -1
5 32 Janez1
#define AND                 0
6
#define NOT_AND             1
7
#define OR                  2
8
#define XOR                 3
9
#define GREATER             4
10
#define GREATER_OR_EQUAL    5
11
#define LESS                6
12
#define LESS_OR_EQUAL       7
13
14
int operator_AND                (int a, int b);
15
int operator_NOT_AND            (int a, int b);
16
int operator_OR                 (int a, int b);
17
int operator_XOR                (int a, int b);
18
int operator_GREATER            (int a, int b);
19
int operator_GREATER_OR_EQUAL   (int a, int b);
20
int operator_LESS               (int a, int b);
21
int operator_LESS_OR_EQUAL      (int a, int b);
22
23 36 Janez1
#endif // OPERATORS_H_INCLUDED