Article View: comp.arch
Article #117Re: Taking hypot(3) To The Edge
From: MitchAlsup
Date: Wed, 14 Oct 2026 22:13
Date: Wed, 14 Oct 2026 22:13
37 lines
2470 bytes
2470 bytes
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.
>
>
>
Technical Details
Message-ID:
<1792015984-5857@newsgrouper.org>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!newsgrouper.org!.POSTED!not-for-mailReferences:
<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>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!newsgrouper.org!.POSTED!not-for-mail From: MitchAlsup <user5857@newsgrouper.org.invalid> Newsgroups: comp.arch Subject: Re: Taking hypot(3) To The Edge 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> Date: Wed, 14 Oct 2026 22:13:04 GMT Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Message-ID: <1792015984-5857@newsgrouper.org> Injection-Info: newsgrouper.org; mail-complaints-to="newsgrouper@yahoo.com"; posting-account=user5857 Injection-Date: Wed, 14 Oct 2026 22:13:04 GMT User-Agent: Newsgrouper/0.9.0