Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Jul 2004 10:54:25 -0700
From:      Marcel Moolenaar <marcel@xcllnt.net>
To:        src-committers@FreeBSD.ORG, cvs-src@FreeBSD.ORG, cvs-all@FreeBSD.ORG
Subject:   Re: cvs commit: src/lib/libc/gen isinf.c
Message-ID:  <20040710175425.GA4636@dhcp50.pn.xcllnt.net>
In-Reply-To: <20040710174415.GA35996@VARK.homeunix.com>
References:  <200407101552.i6AFqQB7030330@repoman.freebsd.org> <20040710174415.GA35996@VARK.homeunix.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@xcllnt.net



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040710175425.GA4636>