-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathOpEnumerations.h
executable file
·58 lines (57 loc) · 1.07 KB
/
OpEnumerations.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
// ##############################################################
// OpEnumerations.h
// Magic Number Machine
//
// Created by Matt Gallagher on Wed May 14 2003.
// Copyright (c) 2003 Matt Gallagher. All rights reserved.
// ##############################################################
enum
{
sinOp = 1,
cosOp = 2,
tanOp = 3,
arcsinOp = 4,
arccosOp = 5,
arctanOp = 6,
sinhOp = 7,
coshOp = 8,
tanhOp = 9,
arcsinhOp = 10,
arccoshOp = 11,
arctanhOp = 12,
reOp = 13,
imOp = 14,
absOp = 15,
argOp = 16,
notOp = 17,
rndOp = 18,
logOp = 19,
lnOp = 20,
sqrtOp = 21,
sigmaOp = 22,
tenOp = 23,
eOp = 24,
squaredOp = 25,
factorialOp = 26,
invOp = 27,
cubedOp = 28,
cbrtOp = 29,
rootOp = 30,
twoOp = 31,
log2Op = 32,
modOp = 37, // '%'
multiplyOp = 42, // '*'
plusOp = 43, // '+'
minusOp = 45, // '-'
impMultOp = 46, // '∙' (implicit multiplication)
divisionOp = 47, // '/'
powerOp = 94,
andOp = 97, // 'a'
nandOp = 98,
norOp = 100,
xnorOp = 101,
ncrOp = 99, // 'c'
orOp = 111, // 'o'
nprOp = 112, // 'p'
xorOp = 120 // 'x'
};