public inbox for newlib-cvs@sourceware.org help / color / mirror / Atom feed
From: Joel Sherrill <joel@sourceware.org> To: newlib-cvs@sourceware.org Subject: [newlib-cygwin] common/math_errf.c: Enable compilation of __math_oflowf Date: Mon, 29 Jul 2019 13:53:00 -0000 [thread overview] Message-ID: <20190729135352.38086.qmail@sourceware.org> (raw) https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=3e5302714fae99acc8c439f5870846312d081631 commit 3e5302714fae99acc8c439f5870846312d081631 Author: Joel Sherrill <joel@rtems.org> Date: Fri Jul 26 14:37:23 2019 -0500 common/math_errf.c: Enable compilation of __math_oflowf This resolved linking errors when using methods such as expm1(). Diff: --- newlib/libm/common/math_errf.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/newlib/libm/common/math_errf.c b/newlib/libm/common/math_errf.c index e050cdb..762fc27 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) {
reply other threads:[~2019-07-29 13:53 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20190729135352.38086.qmail@sourceware.org \ --to=joel@sourceware.org \ --cc=newlib-cvs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).