From: Paul Zimmermann <Paul.Zimmermann@inria.fr>
To: newlib@sourceware.org
Cc: newlib@sourceware.org
Subject: Re: accuracy of mathematical functions
Date: Sat, 06 Feb 2021 07:23:28 +0100 [thread overview]
Message-ID: <mwblcxvhnj.fsf@tomate.loria.fr> (raw)
In-Reply-To: <b6144d60-c23c-858e-f6a5-bf9162ad0a11@SystematicSw.ab.ca> (message from Brian Inglis on Fri, 5 Feb 2021 16:01:39 -0700)
Dear Brian,
> > I have updated my comparison with the newly released 2.33 version.
> > No big difference with the previous version, except that I included
> > the "long double" format (aka ldbl-96), which is not supported by Newlib.
> >
> > https://members.loria.fr/PZimmermann/papers/#accuracy
>
> Thanks for doing this work and making it available is greatly appreciated.
thank you.
> While newlib is mainly targeted to smaller platforms, the Cygwin port math
> library supports gcc __FLT64X_...__/__FLT128_...__ under
> .../newlib-cygwin/winsup/cygwin/math/ and related includes.
how to get them in libm.a? For example I get only 'ctanhl' available,
but not 'tanhl':
$ nm libm.a | grep tanhl
lib_a-atanhl.o:
lib_a-catanhl.o:
0000000000000000 T catanhl
lib_a-ctanhl.o:
0000000000000000 T ctanhl
lib_a-tanhl.o:
> As you may already be aware, clang and gcc have added support for ARM
> __FLT16/__fp16, AMD and Intel have added it to x86/amd64 as CVT16/FP16C
> https://en.wikipedia.org/wiki/F16C, and more compiler and library support are
> likely to follow, as they are already used in graphics and GPGPU areas.
thank you, if/when they are available in libraries, I will extend my comparison
to those formats.
Best regards,
Paul
next prev parent reply other threads:[~2021-02-06 6:23 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-05 10:43 Paul Zimmermann
2021-02-05 23:01 ` Brian Inglis
2021-02-05 23:46 ` Joel Sherrill
2021-02-06 0:40 ` Brian Inglis
2021-02-06 6:23 ` Paul Zimmermann [this message]
2021-08-03 7:59 Paul Zimmermann
2021-09-07 15:01 Paul Zimmermann
2022-02-16 8:42 Accuracy of Mathematical Functions Paul Zimmermann
2022-08-29 10:50 Paul Zimmermann
2023-02-14 8:13 Paul Zimmermann
2023-09-21 7:24 Paul Zimmermann
2024-02-15 14:54 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=mwblcxvhnj.fsf@tomate.loria.fr \
--to=paul.zimmermann@inria.fr \
--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).