cvs commit: src/lib/libc/gen isinf.c

Marcel Moolenaar marcel at xcllnt.net
Sat Jul 10 10:54:27 PDT 2004


On Sat, Jul 10, 2004 at 10:44:15AM -0700, David Schultz wrote:
> On Sat, Jul 10, 2004, Marcel Moolenaar wrote:
> > marcel      2004-07-10 15:52:26 UTC
> > 
> >   FreeBSD src repository
> > 
> >   Modified files:
> >     lib/libc/gen         isinf.c 
> >   Log:
> >   Unbreak alpha: On alpha a long double is the same as a double and
> >   consequently the exponent is only 11 bits. Testing whether the
> >   exponent equals 32767 in that case only effects to compiler warnings
> >   and thus build breakage.
> 
> Thanks.  Even though the exponent range is the same for both the
> IEEE extended and quad ``long double'' formats and is probably
> never going to change, I should probably add some macros for these
> constants.

That's definitely a cleaner way to deal with alpha being an exception.
Especially if alpha is not going to change in this respect. I leave it
all up to you... :-)

-- 
 Marcel Moolenaar	  USPA: A-39004		 marcel at xcllnt.net


More information about the cvs-all mailing list