This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: i386 long double math methods
- From: Brian Inglis <Brian dot Inglis at SystematicSw dot ab dot ca>
- To: newlib at sourceware dot org
- Date: Wed, 25 Sep 2019 23:24:00 -0600
- Subject: Re: i386 long double math methods
- References: <CAF9ehCX7sx0zKuY=tvzx_7_wodqAm_=9Vf+Z98ueYsYS4GMmDQ@mail.gmail.com>
- Reply-to: Brian dot Inglis at SystematicSw dot ab dot ca
On 2019-09-25 16:06, Joel Sherrill wrote:
> i386-rtems tools do not include long double math routines but Cygwin
> does and there is a comment in math.h indicating they have code
> elsewhere for these.
> Are these OK to use to fill in the long double gaps?
Cygwin just uses straight newlib/libm, and the BSD versions of those long double
math functions are already in newlib/libm/*/*l.c and available on Cygwin: sizeof
float80, float128, and long double are all 16.
There are also some x86 asm and fast math specializations under winsup/cygwin/math/
Or are you talking about other long double math functions not included?
You should be able to persuade configure to build RTEMS newlib/libm with a heavy
platform config supporting long double size 16 and excluding _LDBL_EQ_DBL.
--
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada
This email may be disturbing to some readers as it contains
too much technical detail. Reader discretion is advised.