EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: finite()
From: Till Straumann <[email protected]>
To: EPICS Techtalk <[email protected]>
Date: Wed, 30 Nov 2011 12:24:02 -0800
When building base-3-14-12-2-rc1 on uClibc
I found the following:

base is using 'finite()' which is a BSD routine
(and as such not available under uClibc).
OTOH, uClibc provides C99 and thus implements
the 'isfinite()' macro.

As a quick hack I just added

#ifdef isfinite
#define finite(x) isfinite(x)
#endif

to the epicsTimer.cpp and epicsCalcTest.cpp
but this is murky and should be handled better,
maybe in epicsMath.h.

Any ideas?

- Till

Replies:
Re: finite() Andrew Johnson

Navigate by Date:
Prev: EPICS BACnet driver v.1 ready soon! Webb, Steven B.
Next: Re: finite() Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: EPICS BACnet driver v.1 ready soon! Webb, Steven B.
Next: Re: finite() Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·