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

Szabolcs Nagy <[email protected]>
Newsgroups gmane.comp.lib.newlib
Message-ID <[email protected]>
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
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.