X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f Sender: rich AT phekda DOT freeserve DOT co DOT uk Message-ID: <3F8DA77A.B3B0E68B@phekda.freeserve.co.uk> Date: Wed, 15 Oct 2003 21:00:58 +0100 From: Richard Dawe X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.23 i586) X-Accept-Language: de,fr MIME-Version: 1.0 To: Kbwms AT aol DOT com CC: djgpp-workers AT delorie DOT com Subject: Re: Integrating K. B. Williams's maths functions References: <117 DOT 29693acf DOT 2ca8aa4e AT aol DOT com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp-workers AT delorie DOT com Hello. Kbwms AT aol DOT com wrote: > Has anyone written a function/macro for isfinite (par. 7.12.3.2 of C99)? If > not, I'll do it because I have great need for such a critter. If so, please > send to code. Yes. MartinS wrote an implementations of fpclassify for the various floating-point types. There are various macros around these implementations for fpclassify, isinfinite, etc. It is in DJGPP CVS. You can get the source from one of MartinS's snapshots. Bye, Rich =] -- Richard Dawe [ http://www.phekda.freeserve.co.uk/richdawe/ ]