Fixed 64 bit compiler warnings from Tom Palaia/MacOS.

This commit is contained in:
Andrew Johnson
2009-04-23 18:49:40 +00:00
parent b1234b4667
commit 31d149d8d9
17 changed files with 226 additions and 210 deletions
+5 -13
View File
@@ -1,8 +1,6 @@
/*************************************************************************\
* Copyright (c) 2002 The University of Chicago, as Operator of Argonne
* Copyright (c) 2009 UChicago Argonna LLC, as Operator of Argonne
* National Laboratory.
* Copyright (c) 2002 The Regents of the University of California, as
* Operator of Los Alamos National Laboratory.
* EPICS BASE is distributed subject to a Software License Agreement found
* in file LICENSE that is included with this distribution.
\*************************************************************************/
@@ -13,20 +11,14 @@
static float makeNAN ( void )
{
float a,b,c;
a = 0.0;
b = 0.0;
c = a / b;
return c;
float a = 0, b = 0;
return a / b;
}
static float makeINF ( void )
{
float a,b,c;
a = 1.0;
b = 0.0;
c = a / b;
return c;
float a = 1, b = 0;
return a / b;
}
epicsShareDef float epicsNAN = makeNAN();