Re: accuracy of mathematical functions

Paul Zimmermann <[email protected]>
Newsgroups gmane.comp.lib.newlib
Message-ID <[email protected]>
       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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.