This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Add powf bench tests
- From: Joseph Myers <joseph at codesourcery dot com>
- To: Paul Clarke <pc at us dot ibm dot com>
- Cc: "libc-alpha at sourceware dot org" <libc-alpha at sourceware dot org>
- Date: Fri, 9 Jun 2017 22:30:48 +0000
- Subject: Re: [PATCH] Add powf bench tests
- Authentication-results: sourceware.org; auth=none
- References: <c798fa20-43d1-ef63-adce-85d91627233f@us.ibm.com>
On Fri, 9 Jun 2017, Paul Clarke wrote:
> diff --git a/benchtests/pow-inputs b/benchtests/powf-inputs
> similarity index 99%
> copy from benchtests/pow-inputs
> copy to benchtests/powf-inputs
A large proportion of the pow inputs are sufficiently large or small that
they would round to 0 or infinity as float values, or the result would
round to 0, infinity or 1 as a float value. I don't think such special
cases should be considered typical and so I don't think copying the pow
inputs is a good way of producing a set of benchmark inputs to powf.
--
Joseph S. Myers
joseph@codesourcery.com