public inbox for newlib-cvs@sourceware.org
help / color / mirror / Atom feed
* [newlib-cygwin] Remove legacy unions which are no longer used
@ 2017-04-17 23:22 Jeff Johnston
0 siblings, 0 replies; only message in thread
From: Jeff Johnston @ 2017-04-17 23:22 UTC (permalink / raw)
To: newlib-cvs
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=4c90db7bc89e7fa1077025fefdd58269dc71a6ac
commit 4c90db7bc89e7fa1077025fefdd58269dc71a6ac
Author: Jeff Johnston <jjohnstn@redhat.com>
Date: Mon Apr 17 19:21:07 2017 -0400
Remove legacy unions which are no longer used
- remove __fmath, __dmath, and __ldmath unions
Diff:
---
newlib/libc/include/math.h | 23 -----------------------
1 file changed, 23 deletions(-)
diff --git a/newlib/libc/include/math.h b/newlib/libc/include/math.h
index ebbdac6..2a322ee 100644
--- a/newlib/libc/include/math.h
+++ b/newlib/libc/include/math.h
@@ -9,29 +9,6 @@
_BEGIN_STD_C
-/* __dmath, __fmath, and __ldmath are only here for backwards compatibility
- * in case any code used them. They are no longer used by Newlib, itself,
- * other than legacy. */
-union __dmath
-{
- double d;
- __ULong i[2];
-};
-
-union __fmath
-{
- float f;
- __ULong i[1];
-};
-
-#if defined(_HAVE_LONG_DOUBLE)
-union __ldmath
-{
- long double ld;
- __ULong i[4];
-};
-#endif
-
/* Natural log of 2 */
#define _M_LN2 0.693147180559945309417
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-04-17 23:22 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-17 23:22 [newlib-cygwin] Remove legacy unions which are no longer used Jeff Johnston
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).