user wrote:
What's the meaning of these two lines?
extern const double __infinity;
#define INFINITY __infinity
It is connecting the identifier INFINITY (which is in your address
space) to the identifier __infinity (which is in the implementors
address space). What it actually does is going to be described in
your systems documentation. It is making it possible to revise
your program to fit some other system with relatively small
changes, whose purpose etc. should have been thoroughly documented
near those actual lines.
--
Chuck F (cb********@yahoo.com) (cb********@worldnet.att.net)
Available for consulting/temporary embedded and systems.
<http://cbfalconer.home.att.net> USE worldnet address!