Discussion:
[PATCH 0/6 v2] Updates to the new math code
Szabolcs Nagy
2018-07-05 15:58:47 UTC
Permalink
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
Szabolcs Nagy
2018-07-05 16:00:29 UTC
Permalink
Szabolcs Nagy
2018-07-05 16:01:08 UTC
Permalink
Szabolcs Nagy
2018-07-05 16:02:05 UTC
Permalink
Szabolcs Nagy
2018-07-05 16:02:55 UTC
Permalink
Szabolcs Nagy
2018-07-05 16:03:36 UTC
Permalink
Szabolcs Nagy
2018-07-05 16:04:15 UTC
Permalink
Corinna Vinschen
2018-07-06 08:41:00 UTC
Permalink
Post by Szabolcs Nagy
- 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.
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
Loading...