-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoperations.h
38 lines (30 loc) · 911 Bytes
/
operations.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
#ifndef OPERATIONS
#define OPERATIONS
#define _USE_MATH_DEFINES
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <malloc.h>
#include <complex.h>
#include <math.h>
#include "nodestack.h"
NODE* addOp(NODESTACK* nodestack);
NODE* subOp(NODESTACK* nodestack);
NODE* mulOp(NODESTACK* nodestack);
NODE* powOp(NODESTACK* nodestack);
NODE* divOp(NODESTACK* nodestack);
NODE* unaryMinusOp(NODESTACK* nodestack);
NODE* sqrtOp(NODESTACK* nodestack);
NODE* sinOp(NODESTACK* nodestack);
NODE* cosOp(NODESTACK* nodestack);
NODE* tanOp(NODESTACK* nodestack);
NODE* ctgOp(NODESTACK* nodestack);
NODE* lnOp(NODESTACK* nodestack);
NODE* logOp(NODESTACK* nodestack);
NODE* absOp(NODESTACK* nodestack);
NODE* expOp(NODESTACK* nodestack);
NODE* realOp(NODESTACK* nodestack);
NODE* imagOp(NODESTACK* nodestack);
NODE* magOp(NODESTACK* nodestack);
NODE* phaseOp(NODESTACK* nodestack);
#endif // !OPERATIONS