Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Dec 2007 12:11:40 -0500
From:      David Schultz <das@FreeBSD.ORG>
To:        Bruce Evans <brde@optusnet.com.au>
Cc:        freebsd-standards@FreeBSD.ORG, Steve Kargl <sgk@troutmask.apl.washington.edu>
Subject:   Re: long double broken on i386?
Message-ID:  <20071203171140.GA13355@VARK.MIT.EDU>
In-Reply-To: <20071203214940.A1141@delplex.bde.org>
References:  <20070928152227.GA39233@troutmask.apl.washington.edu> <20071001173736.U1985@besplex.bde.org> <20071002001154.GA3782@troutmask.apl.washington.edu> <20071002172317.GA95181@VARK.MIT.EDU> <20071002173237.GA12586@troutmask.apl.washington.edu> <20071003103519.X14175@delplex.bde.org> <20071010204249.GA7446@troutmask.apl.washington.edu> <20071203074407.GA10989@VARK.MIT.EDU> <20071203214940.A1141@delplex.bde.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Dec 03, 2007, Bruce Evans wrote:
> On Mon, 3 Dec 2007, David Schultz wrote:
> 
> >Is the latest version of the patch the one you sent to the list?
> >If cosl and friends produce accurate answers within a reasonable
> >domain, it's worth committing; the whole business about how
> >accurate cosl(1000000000) is can be dealt with later.
> 
> Well, it doesn't work for:
>     i386 (long double is broken in general)
>     pc98 (like i386)
>     sparc64 (long double is longer)
>     sun4v (like sparc64),
> and is irrelevant for:
>     alpha (long double = double, and alpha = unsupported)
>     arm (long double = double)
>     amd64 (should use trivial assembler code until plain cos and friends
>       on i386 are more accurate than the hardware)
>     i386 (like amd64, except not using the hardware would be sillier)
>     pc98 (like i386)
>     powerpc (long double = double)
> so its relevance is limited to:
>     ia64 (long doubles have same precision as on i386, but cos and friends
>       are not in hardware so trivial assembler code cannot be used).

Okay, but realistically, the only one of these complaints that's
an impediment to committing the code is the lack of 128-bit long
double support for sparc64.



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