/* aCalcPostfixPvt.h * Author: Bob Dalesio * Date: 9-21-88 * * Experimental Physics and Industrial Control System (EPICS) * * Copyright 1991, the Regents of the University of California, * and the University of Chicago Board of Governors. * * This software was produced under U.S. Government contracts: * (W-7405-ENG-36) at the Los Alamos National Laboratory, * and (W-31-109-ENG-38) at Argonne National Laboratory. * * Initial development by: * The Controls and Automation Group (AT-8) * Ground Test Accelerator * Accelerator Technology Division * Los Alamos National Laboratory * * Co-developed with * The Controls and Computing Group * Accelerator Systems Division * Advanced Photon Source * Argonne National Laboratory * * Modification Log: * ----------------- * 03-21-06 tmm derived from sCalcPostfixPvt.h * */ #ifndef INC_aCalcPostfixh #include #endif #ifndef INC_aCalcPostfixPvth #define INC_aCalcPostfixPvth #include #include "epicsVersion.h" #if EPICS_REVISION < 14 #include #ifdef vxWorks #include #define isnan(D) isNan(D) #define isinf(D) isInf(D) #endif #else #include "epicsMath.h" #endif #define STACKSIZE 20 /* defines for element table */ /* #define BAD_EXPRESSION 0 */ #define FETCH 1 #define AFETCH 2 #define CONST_PI 3 #define CONST_D2R 4 #define CONST_R2D 5 #define CONST_S2R 6 #define CONST_R2S 7 #define CONST_IX 8 #define RANDOM 9 #define LITERAL 10 #define ARANDOM 11 #define ACOS 12 #define ASIN 13 #define ATAN 14 #define COS 15 #define COSH 16 #define SIN 17 #define RIGHT_SHIFT 18 #define LEFT_SHIFT 19 #define SINH 20 #define TAN 21 #define TANH 22 #define LOG_2 23 #define COND_ELSE 24 #define ABS_VAL 25 #define UNARY_NEG 26 #define SQU_RT 27 #define EXP 28 #define CEIL 29 #define FLOOR 30 #define LOG_10 31 #define LOG_E 32 #define ADD 33 #define SUB 34 #define MULT 35 #define DIV 36 #define EXPON 37 #define MODULO 38 #define BIT_OR 39 #define BIT_AND 40 #define BIT_EXCL_OR 41 #define GR_OR_EQ 42 #define GR_THAN 43 #define LESS_OR_EQ 44 #define LESS_THAN 45 #define NOT_EQ 46 #define EQUAL 47 #define REL_OR 48 #define REL_AND 49 #define REL_NOT 50 #define BIT_NOT 51 #define PAREN 52 #define MAX_VAL 53 #define MIN_VAL 54 #define COMMA 55 #define COND_IF 56 #define COND_END 57 #define NINT 58 #define ATAN2 59 #define STORE 60 #define TO_DOUBLE 61 #define SUBRANGE 62 #define TO_ARRAY 63 #define AVERAGE 64 #define STD_DEV 65 #define FWHM 66 #define SMOOTH 67 #define NSMOOTH 68 #define DERIV 69 #define NDERIV 70 #define ARRSUM 71 #define MAXFUNC 72 #define MINFUNC 73 #define AMAX 74 #define AMIN 75 #define SUBRANGE_IP 76 #define FITPOLY 77 #define FITMPOLY 78 #define A_FETCH 80 #define A_AFETCH 81 /* NOTE: FETCH_A .. FETCH_L must be contiguous and in alphabetical order */ #define FETCH_A 82 #define FETCH_B 83 #define FETCH_C 84 #define FETCH_D 85 #define FETCH_E 86 #define FETCH_F 87 #define FETCH_G 88 #define FETCH_H 89 #define FETCH_I 90 #define FETCH_J 91 #define FETCH_K 92 #define FETCH_L 93 #define GOOD_EXPRESSION 100 /* #define END_STACK 127 */ #endif /* INC_aCalcPostfixPvth */