This is Unofficial EPICS BASE Doxygen Site
postfixPvt.h
Go to the documentation of this file.
1 /*************************************************************************\
2 * Copyright (c) 2010 UChicago Argonne LLC, as Operator of Argonne
3 * National Laboratory.
4 * Copyright (c) 2002 The Regents of the University of California, as
5 * Operator of Los Alamos National Laboratory.
6 * EPICS BASE is distributed subject to a Software License Agreement found
7 * in file LICENSE that is included with this distribution.
8 \*************************************************************************/
9 /* postfixPvt.h
10  * Original Author: Bob Dalesio
11  * Date: 9-21-88
12  */
13 
14 /* Notes:
15  * 1. The FETCH_A through FETCH_L and STORE_A through STORE_L opcodes must
16  * be contiguous.
17  * 2. The LITERAL opcodes are followed by a binary representation of their
18  * values, but these are not aligned properly.
19  * 3. The var-arg functions MIN, MAX, FINITE and ISNAN are followed by
20  * a byte giving the number of arguments to process.
21  * 4. You can't use strlen() on an RPN buffer since the literal values
22  * can contain zero bytes.
23  */
24 
25 #ifndef INCpostfixPvth
26 #define INCpostfixPvth
27 
28 
29 /* RPN opcodes */
30 typedef enum {
32  /* Operands */
36  /* Assignment */
39  /* Trigonometry Constants */
43  /* Arithmetic */
45  ADD,
46  SUB,
48  DIV,
51  /* Algebraic */
53  EXP,
56  MAX,
57  MIN,
59  /* Trigonometric */
64  COS,
66  SIN,
68  TAN,
70  /* Numeric */
78  /* Boolean */
82  /* Bitwise */
90  /* Relationals */
97  /* Conditional */
101  /* Misc */
103 } rpn_opcode;
104 
105 #endif /* INCpostfixPvth */
Definition: postfixPvt.h:56
rpn_opcode
Definition: postfixPvt.h:30
Definition: postfixPvt.h:45
Definition: postfixPvt.h:57
Definition: postfixPvt.h:46
Definition: postfixPvt.h:64
Definition: postfixPvt.h:68
Definition: postfixPvt.h:48
Definition: postfixPvt.h:53
Definition: postfixPvt.h:66