]> sourceware.org Git - newlib-cygwin.git/commitdiff
Remove legacy unions which are no longer used
authorJeff Johnston <jjohnstn@redhat.com>
Mon, 17 Apr 2017 23:21:07 +0000 (19:21 -0400)
committerJeff Johnston <jjohnstn@redhat.com>
Mon, 17 Apr 2017 23:22:19 +0000 (19:22 -0400)
- remove __fmath, __dmath, and __ldmath unions

newlib/libc/include/math.h

index ebbdac68c653384685c82f785b1f9965eb8f7ae5..2a322ee26d644483a81db5a5299fccfae6918105 100644 (file)
@@ -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
 
This page took 0.031788 seconds and 5 git commands to generate.