Andrew Johnson
a942295ead
libCom/calc: Support 0x literals as epicsUInt32
...
Also use epicsInt32 for all integer calculations.
2012-07-06 14:17:51 -05:00
Andrew Johnson
df7fa22a15
libCom/test: Add more tests of the CALC engine
...
Some of the isnan(Inf) tests were failing on mingw.
This change doesn't fix them, it adds related examples.
2012-02-29 17:11:08 -06:00
Andrew Johnson
8418aa059a
libCom/test: Suppress g++ build warnings from epicsCalcTest
...
Newer versions of gcc support #pragma GCC diagnostic
2011-04-07 17:25:02 -05:00
Andrew Johnson
881d13ac07
Merged the expand-calc-size branch.
...
This allows calc and calcout record expressions to be up to
79 characters long, and shortens the postfix buffer needed by
introducing integer literals. Also removes the length limit
for access security CALC expressions.
2010-10-07 14:16:24 -05:00
Andrew Johnson
fbda9f3280
RCS keyword updates for Bazaar
...
Replaced $Id$ and $Header$ keywords with $Revision-Id$
Deleted $Log$ keywords and any log messages
2010-10-05 14:27:37 -05:00
Andrew Johnson
6d1cc23a7e
libCom/test: Enhanced epicsCalcTest.
...
Added testArgs() function and tests, and more bad expression tests.
2010-10-04 13:39:02 -05:00
Andrew Johnson
c28520bea6
Adjust test 66 so it doesn't fail if the gcc optimizer result gives -1 but
...
glibc returns +1. Both are correct, gcc is following a newer standard.
2009-08-21 14:49:01 +00:00
Andrew Johnson
5d5fd663ff
Use epicsNAN and epicsINF.
2009-04-03 21:16:25 +00:00
Andrew Johnson
2a34e2e464
Don't use fmod(), broken on vxWorks.
...
Use long rather than int for integer calculations.
2008-05-08 16:15:50 +00:00
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
e661027615
Fixed printing calc expressions with % chars in them.
2006-11-14 17:29:27 +00:00
Andrew Johnson
6c19051727
Major reorganization:
...
Removed all Main.cpp files, use the macro in testMain.h instead and
defaulted all argc/argv parameters.
Converted all real test programs to use epicsUnitTest.h.
Moved performance measurements from epicsThreadTest to epicsThreadPerform.
Moved epicsOkToBlockTest tests into epicsThreadTest.
On a host arch, make test inside the O.arch directory runs all tests.
2006-11-09 22:38:41 +00:00
Andrew Johnson
eeac94ca3b
Fix errors from MS compiler, which overloads pow() in C++.
2006-10-02 18:01:44 +00:00
Andrew Johnson
d7016a007c
Oops, missed a few tests I'd added.
2006-03-30 20:46:20 +00:00