root / logic / trunk / src / logics / operators.h @ 32
History | View | Annotate | Download (720 Bytes)
1 |
#ifndef OPERATORS_H_INCLUDED
|
---|---|
2 |
#define OPERATORS_H_INCLUDED
|
3 |
|
4 |
#define AND 0 |
5 |
#define NOT_AND 1 |
6 |
#define OR 2 |
7 |
#define XOR 3 |
8 |
#define GREATER 4 |
9 |
#define GREATER_OR_EQUAL 5 |
10 |
#define LESS 6 |
11 |
#define LESS_OR_EQUAL 7 |
12 |
|
13 |
int operator_AND (int a, int b); |
14 |
int operator_NOT_AND (int a, int b); |
15 |
int operator_OR (int a, int b); |
16 |
int operator_XOR (int a, int b); |
17 |
int operator_GREATER (int a, int b); |
18 |
int operator_GREATER_OR_EQUAL (int a, int b); |
19 |
int operator_LESS (int a, int b); |
20 |
int operator_LESS_OR_EQUAL (int a, int b); |
21 |
|
22 |
#endif // OPERATORS_H_INCLUDED |