diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2017-04-17 19:21:07 -0400 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2017-04-17 19:22:19 -0400 |
commit | 4c90db7bc89e7fa1077025fefdd58269dc71a6ac (patch) | |
tree | 8fed0b8098e503b5aa714f171e47b34b79d7a8a3 /newlib | |
parent | c84697c259d340ec2322efe79394d3c9e96cf006 (diff) | |
download | cygnal-4c90db7bc89e7fa1077025fefdd58269dc71a6ac.tar.gz cygnal-4c90db7bc89e7fa1077025fefdd58269dc71a6ac.tar.bz2 cygnal-4c90db7bc89e7fa1077025fefdd58269dc71a6ac.zip |
Remove legacy unions which are no longer used
- remove __fmath, __dmath, and __ldmath unions
Diffstat (limited to 'newlib')
-rw-r--r-- | newlib/libc/include/math.h | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/newlib/libc/include/math.h b/newlib/libc/include/math.h index ebbdac68c..2a322ee26 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 |