calcPerform
Bug #541095 reported by
Andrew Johnson
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
EPICS Base |
Fix Released
|
Medium
|
Andrew Johnson |
Bug Description
It is possible for calcPerform to return OK even if the expression result is a NaN (Not a Number).
Additional information:
Category and priority fields changed, status resolved again - the Update Bug page allows this.
Original Mantis Bug: mantis-7
http://
To post a comment you must log in.
This can be fixed for vxWorks by changing /src/libCom/ calcPerform. c
diff -r1.31.6.1 calcPerform.c (isnan( *presult) ? -1 : 0));
104a105,106
> #include <private/mathP.h> /* For isNan*/
> #define isnan isNan
517c519
< return(0);
---
> return(
Note that this fix will break any non-vxWorks uses of calcPerform such as for MEDM.