Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Apr 2003 19:34:40 -0800
From:      Marcel Moolenaar <marcel@xcllnt.net>
To:        Bruce Evans <bde@zeta.org.au>, Peter Jeremy <peterjeremy@optushome.com.au>, Alexander Leidinger <Alexander@Leidinger.net>, cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/ia64/include float.h
Message-ID:  <20030403033440.GA66355@dhcp01.pn.xcllnt.net>
In-Reply-To: <20030403001250.GA55715@HAL9000.homeunix.com>
References:  <20030327204935.GA18134@HAL9000.homeunix.com> <20030330175646.281097ad.Alexander@Leidinger.net> <20030331082023.GE11307@cirb503493.alcatel.com.au> <20030401172440.701aaafd.Alexander@Leidinger.net> <20030401200457.GA30284@cirb503493.alcatel.com.au> <20030402154250.X25489@gamplex.bde.org> <20030402075905.GA30835@cirb503493.alcatel.com.au> <20030402203725.O26345@gamplex.bde.org> <20030402210714.GB65073@dhcp01.pn.xcllnt.net> <20030403001250.GA55715@HAL9000.homeunix.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Apr 02, 2003 at 04:12:50PM -0800, David Schultz wrote:
> 
> > Note also that the 82-bit FP registers have a 17-bit exponent to aid
> > in near-overflow and near-underflow computations in IEEE754 double-
> > extended format. Of course an exception is still raised if the result
> > does not fit the target if the target is in double-extended format.
> 
> Right.  I think the LDBL_{MIN,MAX}* constants need to refer to the
> memory format, not the FPU-internal format.

Agreed.

> If we *really* want
> to be pedantic, we can clear the WRE bit in the FPU control
> register and sacrifice the extra range in the interests of being
> predictable.

This is already the default, except for SF1. SF1 is documented
to be reserved for math library implementations and has WRE
enabled by default.

> That's similar to what we do with i386 now, where we
> sacrifice precision so gcc bugs don't cause strange things to
> happen in the lower echelons.  It's rather annoying.  We don't
> change the default precision control setting on IA64, do we?

Correct, we don't.

-- 
 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?20030403033440.GA66355>