Commit Graph

88 Commits

Author SHA1 Message Date
Andrew Johnson
b281b453bb Added variable argument functions, mostly by Benjamin Fransken.
MIN, MAX, FINITE and ISINF can now take any number of arguments.
2008-04-10 18:06:47 +00:00
Andrew Johnson
7cf188ff61 Fix issues when char is signed. 2008-01-04 16:52:15 +00:00
Andrew Johnson
ad8302f4b1 Added VAL keyword to CALC parser and evaluator; evaluates to previous result. 2007-05-03 20:03:38 +00:00
Jeff Hill
049e054c31 fixed win32 dll exports 2006-11-30 22:29:26 +00:00
Andrew Johnson
e98b305246 Fix up calc and calcout record and associated code to use the new features
of postfix() and calcPerform().
2006-10-03 20:22:23 +00:00
Andrew Johnson
97a5aa16a0 Major update, code reorganization and enhancement. 2006-03-30 20:07:06 +00:00
Andrew Johnson
df07bfc9e9 Lower-case operands a thru l are never used, the infix buffer was already
converted to upper-case.
2006-03-01 19:55:13 +00:00
Andrew Johnson
b2681f5eb8 Fixed gcc warnings (NULL is a pointer, '\0' is a zero character). 2005-10-28 23:14:06 +00:00
Jeff Hill
12a08561be fixed DLL symbol export for windows 2005-02-18 18:39:56 +00:00
W. Eric Norum
0dc034962c Use epicsScanFloat/epicsScanDouble rather than sscanf.
This allows proper handling of Nan/Inf on all architectures.
2004-10-12 17:45:31 +00:00
W. Eric Norum
4a95bacb24 Pick up OS-specific declarations. 2004-09-14 23:08:29 +00:00
Jeff Hill
2d613ba5d0 fixed DLL export 2004-08-11 00:46:12 +00:00
Andrew Johnson
35bd1a76d1 Removed string calculation engine, only needed by Tim Mooney's recordtypes. 2003-09-12 19:13:54 +00:00
Ralph Lange
881ba6bb9d Fixed compiler warnings connected to missing char->int casts 2003-04-03 12:05:09 +00:00
Janet B. Anderson
93b0bf478d Updated license comments. 2002-07-12 21:35:43 +00:00
Marty Kraimer
adc6677275 add extern for C callable routines 2002-05-06 19:01:15 +00:00
Marty Kraimer
4428be70c3 support isinf; epicsIsNAN=>isnan; add test for epicsMath 2002-04-11 15:44:34 +00:00
Marty Kraimer
d78307e798 return -1 if result is nan 2002-03-27 13:38:59 +00:00
Jeff Hill
ba6a096e86 a fix for use of posix isnan() function 2001-07-31 21:35:26 +00:00
Marty Kraimer
9ebaf81de3 use isnan from standard library support
For vxWorks provide implementation
2001-07-26 15:47:12 +00:00
Ralph Lange
a67444ea1e Fixed HPUX 11 problem: isnan() is a macro. 2001-07-20 17:36:41 +00:00
Ralph Lange
48aac3bc86 Fixed Tornado warnings 2001-07-20 17:33:50 +00:00
Marty Kraimer
e80ea9a289 add const in may places 2001-02-06 15:19:53 +00:00
Jeff Hill
df78e9c4e0 fixed type of inclusion used 2000-10-12 18:37:06 +00:00
Ralph Lange
d3fce00c03 MODULO bug (range was limited to short int) fixed. 2000-08-09 13:51:08 +00:00
Jeff Hill
d15b7f24c1 use ANSI function prototype 2000-02-07 21:06:34 +00:00
Janet B. Anderson
b40f003fb0 Fixed test stmnt errors in previous commit. 2000-02-02 23:08:18 +00:00
Janet B. Anderson
137ac31a23 Fixed test stmnt errors in previous commit. 2000-02-02 22:25:27 +00:00
Janet B. Anderson
af081e0786 Changed test order in while stmnts to prevent UMR problem. - Evans 2000-02-02 22:20:11 +00:00
Janet B. Anderson
1a11a13f28 Changed test order in while stmnts to prevent UMR problem. - Evans 2000-02-02 22:09:20 +00:00
Marty Kraimer
c786f54b63 changes for 3.14 1999-09-13 19:18:48 +00:00
Janet B. Anderson
42492ea5f2 Added == binary operator. 1999-09-01 22:36:16 +00:00
Jeff Hill
9a1f1a216b fixed DLL export 1999-07-17 00:54:21 +00:00
Marty Kraimer
933a6daed2 change INCpostfixh to INCsCalcPostfixH 1999-07-08 14:52:36 +00:00
Jeff Hill
fc231af5ed fixed dll export/import problem 1998-06-16 01:58:18 +00:00
Jeff Hill
29c90caa54 fixed dll import/export problem\ 1998-06-16 01:54:28 +00:00
Janet B. Anderson
cd16fbc3f2 Changes for shared library build. 1998-06-12 19:28:36 +00:00
Janet B. Anderson
53fab670ea Define strncasecmp for non unix builds only. 1998-06-12 19:28:07 +00:00
Marty Kraimer
8fe0f0dbef New versions from Tim Mooney 1998-05-29 18:31:33 +00:00
Janet B. Anderson
79e96213e0 Warning messages changes. 1998-05-13 19:51:37 +00:00
Marty Kraimer
8dca7ebe56 make changes for Tim Mooney 1998-04-23 17:25:20 +00:00
Jeff Hill
2e52bb9c1e fixed place where shareLib.h macros were not redifed 1998-03-23 20:14:42 +00:00
Marty Kraimer
f76ae5019b These are for string calculation operations; Not ready yet to replace postfix
and calcPerform.
1998-03-19 20:45:50 +00:00
Marty Kraimer
97191cfb50 get rid of some warning messages 1998-03-19 20:43:47 +00:00
Marty Kraimer
f91fa643ba Move private stuff to another fil;e 1998-03-16 16:25:52 +00:00
Marty Kraimer
c6304512eb Move private definitions to postfixPvt.h 1998-03-16 16:23:42 +00:00
Jeff Hill
27c4d0574f cleaned up the DLL symbol export 1998-02-27 01:34:15 +00:00
Ken Evans
88d36c7db3 Made a large number of changes to epicsShareThings in libCom routines
to get imports and exports straight on WIN32.  Not everything is fixed
at this time.
1998-02-20 21:45:20 +00:00
Janet B. Anderson
f55d861f40 Added aten2 function pre Nick Rees. 1997-07-23 15:06:43 +00:00
Marty Kraimer
ed3cefacef Change so that 0 is INVALID_ 1997-07-11 12:20:35 +00:00