[PATCH 0/6 v2] Updates to the new math code

Corinna Vinschen vinschen@redhat.com
Wed Jul 11 03:37:00 GMT 2018


On Jul  5 16:58, Szabolcs Nagy wrote:
> v2:
> - Made HAVE_FAST_FMA macros consistent with other HAVE_* macros.
> - Removed TOINT_RINT and TOINT_SHIFT.
> - Include sinf/cosf namespace fix in the patch set.
> 
> There are some modifications and bug fixes in the Arm Optimized
> Routines repo and i'd like to sync newlib with it.
> 
> Szabolcs Nagy (6):
>   Fix code style and comments of new math code
>   Move __HAVE_FAST_FMA to math_config.h
>   Remove unused TOINT_RINT and TOINT_SHIFT macros
>   Change the return type of converttoint and document the semantics
>   Fix large ulp error in pow without fma very near 1.0
>   Fix namespace issues in sinf, cosf and sincosf
> 
>  newlib/libc/include/machine/ieeefp.h | 23 -------------
>  newlib/libm/common/cosf.c            |  6 ++--
>  newlib/libm/common/exp.c             | 22 +++++++++----
>  newlib/libm/common/exp2.c            | 18 ++++++++---
>  newlib/libm/common/log.c             | 48 ++++++++++++++-------------
>  newlib/libm/common/log2.c            | 35 ++++++++++----------
>  newlib/libm/common/log2_data.c       |  4 +--
>  newlib/libm/common/log_data.c        |  4 +--
>  newlib/libm/common/math_config.h     | 63 ++++++++++++++++++++++++++++--------
>  newlib/libm/common/pow.c             | 41 ++++++++++++++++-------
>  newlib/libm/common/sf_exp.c          |  5 +--
>  newlib/libm/common/sincosf.c         | 22 ++++++-------
>  newlib/libm/common/sincosf.h         | 15 +++++----
>  newlib/libm/common/sincosf_data.c    |  4 +--
>  newlib/libm/common/sinf.c            | 18 +++++------
>  15 files changed, 188 insertions(+), 140 deletions(-)
> 
> --
> 2.14.1

Pushed.


Thanks,
Corinna

-- 
Corinna Vinschen
Cygwin Maintainer
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/newlib/attachments/20180711/0a4e3716/attachment.sig>


More information about the Newlib mailing list