diff options
author | Joel Sherrill <joel@rtems.org> | 2019-07-26 22:37:23 +0300 |
---|---|---|
committer | Joel Sherrill <joel@rtems.org> | 2019-07-26 22:54:29 +0300 |
commit | 3e5302714fae99acc8c439f5870846312d081631 (patch) | |
tree | 50884c6ecd6804441db71c040578eb8cc5ca002a /newlib/libm/common/math_errf.c | |
parent | dea3d8c73e0c38043b7c839cc7d2431f51a03e16 (diff) |
common/math_errf.c: Enable compilation of __math_oflowf
This resolved linking errors when using methods such as
expm1().
Diffstat (limited to 'newlib/libm/common/math_errf.c')
-rw-r--r-- | newlib/libm/common/math_errf.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/newlib/libm/common/math_errf.c b/newlib/libm/common/math_errf.c index e050cdb44..762fc2799 100644 --- a/newlib/libm/common/math_errf.c +++ b/newlib/libm/common/math_errf.c @@ -27,8 +27,6 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #include "fdlibm.h" -#if !__OBSOLETE_MATH - #include "math_config.h" #if WANT_ERRNO @@ -53,6 +51,7 @@ xflowf (uint32_t sign, float y) return with_errnof (y, ERANGE); } +#if !__OBSOLETE_MATH HIDDEN float __math_uflowf (uint32_t sign) { @@ -68,6 +67,7 @@ __math_may_uflowf (uint32_t sign) return xflowf (sign, 0x1.4p-75f); } #endif +#endif /* !__OBSOLETE_MATH */ HIDDEN float __math_oflowf (uint32_t sign) @@ -75,6 +75,7 @@ __math_oflowf (uint32_t sign) return xflowf (sign, 0x1p97f); } +#if !__OBSOLETE_MATH HIDDEN float __math_divzerof (uint32_t sign) { |