public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
From: DJ Delorie <dj@redhat.com>
To: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Cc: libc-alpha@sourceware.org, josmyers@redhat.com,
	Paul.Zimmermann@inria.fr, sibid@uvic.ca
Subject: Re: [PATCH 05/15] benchtests: Add cospif
Date: Fri, 07 Feb 2025 17:51:20 -0500	[thread overview]
Message-ID: <xnlduhnzbr.fsf@greed.delorie.com> (raw)
In-Reply-To: <20250131191844.2582716-6-adhemerval.zanella@linaro.org> (message from Adhemerval Zanella on Fri, 31 Jan 2025 16:17:09 -0300)

Adhemerval Zanella <adhemerval.zanella@linaro.org> writes:

> Random inpus in the range of [-1,1].

s/inpus/inputs/

> diff --git a/benchtests/Makefile b/benchtests/Makefile
>    cosf \
>    cosh \
>    coshf \
> +  cospif \
>    erf \
>    erfc \
>    erfcf \

Ok.

> diff --git a/benchtests/cospif-inputs b/benchtests/cospif-inputs
> +## args: float
> +## ret: float
> +## includes: math.h
> +# Random inputs in [-1,1]
> +## name: workload-random

Ok.

> +0x1.f90c2p+1

This is NOT in the range [-1,1]

The data is in the range (-4,4)

I assume the comment is wrong, since cospi(x)'s domain is unbounded, and
a few multiples of pi seems reasonable.

> +-0x1.c63b68p-1
> +-0x1.cd3608p+1
> +0x1.0acddp+0
> +0x1.f8ba44p+1


  reply	other threads:[~2025-02-07 22:51 UTC|newest]

Thread overview: 57+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-31 19:17 [PATCH 00/15] Add c23 CORE-MATH binary32 implementations to libm Adhemerval Zanella
2025-01-31 19:17 ` [PATCH 01/15] benchtests: Add acospif Adhemerval Zanella
2025-02-07 22:00   ` DJ Delorie
2025-01-31 19:17 ` [PATCH 02/15] benchtests: Add asinpif Adhemerval Zanella
2025-02-07 22:06   ` DJ Delorie
2025-02-11 12:56     ` Adhemerval Zanella Netto
2025-01-31 19:17 ` [PATCH 03/15] benchtests: Add atan2pif Adhemerval Zanella
2025-02-07 22:19   ` DJ Delorie
2025-01-31 19:17 ` [PATCH 04/15] benchtests: Add atanpif Adhemerval Zanella
2025-02-07 22:36   ` DJ Delorie
2025-01-31 19:17 ` [PATCH 05/15] benchtests: Add cospif Adhemerval Zanella
2025-02-07 22:51   ` DJ Delorie [this message]
2025-02-11 13:13     ` Adhemerval Zanella Netto
2025-02-11 19:56       ` DJ Delorie
2025-01-31 19:17 ` [PATCH 06/15] benchtests: Add sinpif Adhemerval Zanella
2025-02-07 22:54   ` DJ Delorie
2025-02-11 13:13     ` Adhemerval Zanella Netto
2025-02-11 19:58       ` DJ Delorie
2025-01-31 19:17 ` [PATCH 07/15] benchtests: Add tanpif Adhemerval Zanella
2025-02-01  8:18   ` Paul Zimmermann
2025-02-07 22:55   ` DJ Delorie
2025-01-31 19:17 ` [PATCH 08/15] math: Use acospif from CORE-MATH Adhemerval Zanella
2025-02-01  8:22   ` Paul Zimmermann
2025-02-08  2:15   ` DJ Delorie
2025-02-11 13:16     ` Adhemerval Zanella Netto
2025-01-31 19:17 ` [PATCH 09/15] math: Use asinpif " Adhemerval Zanella
2025-02-01  8:28   ` Paul Zimmermann
2025-02-03  6:40   ` Paul Zimmermann
2025-02-03 12:27     ` Adhemerval Zanella Netto
2025-02-08  3:03   ` DJ Delorie
2025-01-31 19:17 ` [PATCH 10/15] math: Use atan2pif " Adhemerval Zanella
2025-02-08  4:20   ` DJ Delorie
2025-02-11 13:27     ` Adhemerval Zanella Netto
2025-01-31 19:17 ` [PATCH 11/15] math: Use atanpif " Adhemerval Zanella
2025-02-03  7:09   ` Paul Zimmermann
2025-02-10 22:29   ` DJ Delorie
2025-02-11 14:07     ` Adhemerval Zanella Netto
2025-02-11 14:22       ` Paul Zimmermann
2025-02-11 20:01         ` DJ Delorie
2025-02-11 20:10           ` Adhemerval Zanella Netto
2025-01-31 19:17 ` [PATCH 12/15] math: Use cospif " Adhemerval Zanella
2025-02-03  7:16   ` Paul Zimmermann
2025-02-10 23:07   ` DJ Delorie
2025-01-31 19:17 ` [PATCH 13/15] math: Use sinpif " Adhemerval Zanella
2025-02-03 10:39   ` Paul Zimmermann
2025-02-11  0:56   ` DJ Delorie
2025-01-31 19:17 ` [PATCH 14/15] math: Use tanpif " Adhemerval Zanella
2025-02-03 11:05   ` Paul Zimmermann
2025-02-11  1:15   ` DJ Delorie
2025-02-11 14:09     ` Adhemerval Zanella Netto
2025-01-31 19:17 ` [PATCH 15/15] x86_64: Add asinpif with FMA Adhemerval Zanella
2025-01-31 22:59   ` Noah Goldstein
2025-02-11  1:31   ` DJ Delorie
2025-02-11 14:12     ` Adhemerval Zanella Netto
2025-02-11 20:13       ` Adhemerval Zanella Netto
2025-02-12 11:00         ` Adhemerval Zanella Netto
2025-02-01  8:14 ` [PATCH 00/15] Add c23 CORE-MATH binary32 implementations to libm Paul Zimmermann

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=xnlduhnzbr.fsf@greed.delorie.com \
    --to=dj@redhat.com \
    --cc=Paul.Zimmermann@inria.fr \
    --cc=adhemerval.zanella@linaro.org \
    --cc=josmyers@redhat.com \
    --cc=libc-alpha@sourceware.org \
    --cc=sibid@uvic.ca \
    /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).