public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
From: Paul Zimmermann <Paul.Zimmermann@inria.fr>
To: Wilco Dijkstra <Wilco.Dijkstra@arm.com>
Cc: Szabolcs.Nagy@arm.com, libc-alpha@sourceware.org
Subject: Re: [PATCH 1/5] Remove slow paths from asin
Date: Fri, 08 Jan 2021 11:29:45 +0100	[thread overview]
Message-ID: <mwzh1jk9gm.fsf@tomate.loria.fr> (raw)
In-Reply-To: <VE1PR08MB55995AFCDB2947DAB321979083AF0@VE1PR08MB5599.eurprd08.prod.outlook.com> (message from Wilco Dijkstra on Thu, 7 Jan 2021 19:36:56 +0000)

       Dear Wilco,

the v2 of this series is ok for me, except in the meantime I have found a
larger error for tan:

tan 0 -1 0x1.c673a473b3503p+3 [0.619] 0.618365 0.6183652837454632

thus you could replace ~0.612 by ~0.619.

Let me summarize the largest errors we get with 2.32 and after this patch
(on random sampling):

            2.32      after patch (with corresponding input)
asin       0.500      0.516 0x1.07fffeadab7ecp-3
acos       0.501      0.523 0x1.dffff776c7505p-1
tan        0.500      0.619 0x1.c673a473b3503p+3
atan       0.500      0.523 -0x1.f9004176e07bep-4
atan2      0.500      0.524 0x1.4aa3aada7c44fp-996,0x1.4f32ff56386e8p-993

Best regards,
Paul

  reply	other threads:[~2021-01-08 10:29 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-04 12:11 [PATCH 0/5] Remove remaining slow paths from math functions Wilco Dijkstra
2021-01-04 12:15 ` [PATCH 1/5] Remove slow paths from asin Wilco Dijkstra
2021-01-04 16:25   ` Paul Zimmermann
2021-01-04 17:06     ` Szabolcs Nagy
2021-01-04 17:41       ` Paul Zimmermann
2021-01-07 19:36         ` Wilco Dijkstra
2021-01-08 10:29           ` Paul Zimmermann [this message]
2021-01-07 19:23   ` [PATCH v2 1/5] Remove remaining slow paths from asin and acos Wilco Dijkstra
2021-01-04 12:17 ` [PATCH 2/5] Remove slow paths in tan Wilco Dijkstra
2021-01-04 16:36   ` Paul Zimmermann
2021-01-07 19:25   ` [PATCH v2 " Wilco Dijkstra
2021-01-04 12:19 ` [PATCH 3/5] Remove slow paths from atan Wilco Dijkstra
2021-01-04 16:43   ` Paul Zimmermann
2021-01-07 19:26   ` [PATCH v2 " Wilco Dijkstra
2021-01-04 12:21 ` [PATCH 4/5] Remove slow paths from atan2 Wilco Dijkstra
2021-01-04 16:49   ` Paul Zimmermann
2021-01-07 19:28   ` [PATCH v2 " Wilco Dijkstra
2021-01-04 12:25 ` [PATCH 5/5] Remove mpa files Wilco Dijkstra
2021-01-07 20:12   ` [PATCH v2 " Wilco Dijkstra

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=mwzh1jk9gm.fsf@tomate.loria.fr \
    --to=paul.zimmermann@inria.fr \
    --cc=Szabolcs.Nagy@arm.com \
    --cc=Wilco.Dijkstra@arm.com \
    --cc=libc-alpha@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).