🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.arch
Article #135

Re: Taking hypot(3) To The Edge

#135
From: Michael S
Date: Thu, 15 Oct 2026 19:03
56 lines
3315 bytes
On Wed, 14 Oct 2026 22:13:04 GMT
MitchAlsup <user5857@newsgrouper.org.invalid> wrote:

> Michael S <already5chosen@yahoo.com> posted:
> 
> > On Tue, 13 Oct 2026 21:33:23 GMT
> > MitchAlsup <user5857@newsgrouper.org.invalid> wrote:
> >   
> > > 
> > > For example, I have eXcel from 2003, and on AMD machines I get
> > > 80-bit precision (when real careful in eXcel math)--but those
> > > same programs on Intel and Arm display 64-bit precision.
> > >   
> > 
> > Are you sure that you use exactly the same version of Excel on AMD
> > and Intel? Also, what OS do you have on each machine?
> > 
> > Also, how exactly do you detect that precision is higher than IEEE
> > binary64? By forcing mantisa to hold more than 53 bits
> > (incl.hidden) or by forcing exponent to hold more than 11 bits?  
> 
> Very carefully crafted arithmetic. I calculated the Chebyshev points
> on a 128-bit FP machine and then transported the ASCII data back and
> gained 1.2ULP instead of calculating them using COS( point/k ) which
> is the standard formula.
> 
> Also, instead of calculating a bunch of terms in multiple cells, I use
> SUMPRODUCT() which I found to be ~0.3ULP better than writing the 
> equations out by hand.
> 
> I have no idea why, just that I can measure {LOG(ABS(value),2)} as the
> number of bits of precision--where value is the {AMD,Intel} builtin
> minus my Chebyshev polynomial evaluated at the same point. Given 1,000
> evaluations points between [a, b] with random dither at each point
> the shape of the graph shows the accuracy while the noise on the graph
> shows the arithmetic noise.
> > 
> > 
> > 

All that sounds non-trivial. The difference can be easily related to
something else, e.g. to results of evaluation of trigs. Which do differ
a little between AMD and Intel.

What about trivial tests? 
A = 1; B = A + 1e-18; C = B - 1;







  

Technical Details
Message-ID: <20261015220350.000008ef@yahoo.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
References: <119kaj9$npbg$1@dont-email.me> <119kd8g$opnp$1@dont-email.me> <119l4vl$t831$2@dont-email.me> <20261001141212.00002f20@yahoo.com> <1791927203-5857@newsgrouper.org> <20261014224516.00000da5@yahoo.com> <1792015984-5857@newsgrouper.org>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
From: Michael S <already5chosen@yahoo.com>
Newsgroups: comp.arch
Subject: Re: Taking hypot(3) To The Edge
Date: Thu, 15 Oct 2026 22:03:50 +0300
Organization: A noiseless patient Spider
Lines: 56
Message-ID: <20261015220350.000008ef@yahoo.com>
References: <119kaj9$npbg$1@dont-email.me>
	<119kd8g$opnp$1@dont-email.me>
	<119l4vl$t831$2@dont-email.me>
	<20261001141212.00002f20@yahoo.com>
	<1791927203-5857@newsgrouper.org>
	<20261014224516.00000da5@yahoo.com>
	<1792015984-5857@newsgrouper.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 15 Oct 2026 19:03:56 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="2267740"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX19+NCR0CznT7+C1zRkaokeT+zgmjjqls2s="; posting-host="3b8f45aa92a35cfe2c12d7defbe387f2"
Cancel-Lock: sha1:/KwlO9kiVmlz3oCua0vTG/wNI8A= sha256:xKdhtgVXgbrBm/gk2/WKeZMIeVQdYefWhmrLBhOSa8c=
	sha1:gekIYo69u8UPVLJedmMyjyhdoXc= sha256:clF7SQ5OBi9SxkeBBL1lrd4hjG8ihpd7UMwJ8RLDtvE=
X-Newsreader: Claws Mail 4.1.1 (GTK 3.24.34; x86_64-w64-mingw32)