Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Jul 2004 10:44:15 -0700
From:      David Schultz <das@FreeBSD.ORG>
To:        Marcel Moolenaar <marcel@FreeBSD.ORG>
Cc:        cvs-all@FreeBSD.ORG
Subject:   Re: cvs commit: src/lib/libc/gen isinf.c
Message-ID:  <20040710174415.GA35996@VARK.homeunix.com>
In-Reply-To: <200407101552.i6AFqQB7030330@repoman.freebsd.org>
References:  <200407101552.i6AFqQB7030330@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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.  Perhaps after including <float.h>, it would simply be
#define LDBL_MAXEXP (LDBM_MAX * 2 - 1).



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