-
-
Notifications
You must be signed in to change notification settings - Fork 11
/
kcalc_priority_levels_p.h
64 lines (52 loc) · 1.82 KB
/
kcalc_priority_levels_p.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
59
60
61
62
63
64
/*
SPDX-FileCopyrightText: 2023 Gabriel Barrantes <[email protected]>
SPDX-License-Identifier: GPL-2.0-or-later
*/
#define NO_LEVEL -1
#define LEVEL_0 0
#define LEVEL_1 1
#define LEVEL_2 2
#define LEVEL_3 3
#define LEVEL_4 4
#define ADD_PRIORITY_LEVEL LEVEL_0
#define SUB_PRIORITY_LEVEL LEVEL_0
#define MUL_PRIORITY_LEVEL LEVEL_1
#define DIV_PRIORITY_LEVEL LEVEL_1
#define INVERTSIGN_PRIORITY_LEVEL LEVEL_0
#define BINOMIAL_PRIORITY_LEVEL LEVEL_1
#define MODULO_PRIORITY_LEVEL LEVEL_1
#define INTEGER_DIVISION_PRIORITY_LEVEL LEVEL_1
#define OR_PRIORITY_LEVEL LEVEL_1
#define AND_PRIORITY_LEVEL LEVEL_1
#define XOR_PRIORITY_LEVEL LEVEL_1
#define RSH_STR_PRIORITY_LEVEL LEVEL_1
#define LSH_STR_PRIORITY_LEVEL LEVEL_1
#define ONE_S_COMPLEMENT_PRIORITY_LEVEL LEVEL_1
#define TWO_S_COMPLEMENT_PRIORITY_LEVEL LEVEL_1
#define POWER_PRIORITY_LEVEL LEVEL_4
#define POWER_ROOT_PRIORITY_LEVEL LEVEL_4
#define PERMILE_PRIORITY_LEVEL LEVEL_3
#define PERCENTAGE_PRIORITY_LEVEL LEVEL_3
#define CUBE_PRIORITY_LEVEL LEVEL_3
#define SQUARE_PRIORITY_LEVEL LEVEL_3
#define CUBIC_ROOT_PRIORITY_LEVEL LEVEL_3
#define SQUARE_ROOT_PRIORITY_LEVEL LEVEL_3
#define RECIPROCAL_ROOT_PRIORITY_LEVEL LEVEL_4
#define LN_PRIORITY_LEVEL LEVEL_4
#define EXP_PRIORITY_LEVEL LEVEL_4
#define EXP_10_PRIORITY_LEVEL LEVEL_4
#define LOG_10_PRIORITY_LEVEL LEVEL_4
#define SIN_PRIORITY_LEVEL LEVEL_4
#define COS_PRIORITY_LEVEL LEVEL_4
#define TAN_PRIORITY_LEVEL LEVEL_4
#define ASIN_PRIORITY_LEVEL LEVEL_4
#define ACOS_PRIORITY_LEVEL LEVEL_4
#define ATAN_PRIORITY_LEVEL LEVEL_4
#define SINH_PRIORITY_LEVEL LEVEL_4
#define COSH_PRIORITY_LEVEL LEVEL_4
#define TANH_PRIORITY_LEVEL LEVEL_4
#define ASINH_PRIORITY_LEVEL LEVEL_4
#define ACOSH_PRIORITY_LEVEL LEVEL_4
#define ATANH_PRIORITY_LEVEL LEVEL_4
#define GAMMA_PRIORITY_LEVEL LEVEL_4
#define FACTORIAL_PRIORITY_LEVEL LEVEL_3