From: "Keith Packard" <keithp@keithp.com>
To: Fabian Schriever <fabian.schriever@gtd-gmbh.de>, newlib@sourceware.org
Cc: Fabian Schriever <fabian.schriever@gtd-gmbh.de>
Subject: Re: [PATCH] Fix hypotf missing mask in hi+lo decomposition
Date: Thu, 19 Mar 2020 15:27:38 -0700 [thread overview]
Message-ID: <87r1xoyo85.fsf@keithp.com> (raw)
In-Reply-To: <20200319153408.1413-1-fabian.schriever@gtd-gmbh.de>
[-- Attachment #1: Type: text/plain, Size: 400 bytes --]
Fabian Schriever <fabian.schriever@gtd-gmbh.de> writes:
> Add the missing mask for the decomposition of hi+lo which caused some
> errors of 1-2 ULP.
> - SET_FLOAT_WORD(t1,ha+0x00800000L);
> + SET_FLOAT_WORD(t1,(ha+0x00800000L)&0xfffff000UL);
Looks correct to me. I note that glibc has switched to using double for
float paths, so there's no comparable code there.
--
-keith
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]
next prev parent reply other threads:[~2020-03-19 22:27 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-19 15:34 Fabian Schriever
2020-03-19 22:27 ` Keith Packard [this message]
2020-03-20 9:16 ` Corinna Vinschen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87r1xoyo85.fsf@keithp.com \
--to=keithp@keithp.com \
--cc=fabian.schriever@gtd-gmbh.de \
--cc=newlib@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).