diff options
author | cvs2svn <cvs2svn@FreeBSD.org> | 2007-01-29 10:14:29 +0000 |
---|---|---|
committer | cvs2svn <cvs2svn@FreeBSD.org> | 2007-01-29 10:14:29 +0000 |
commit | cec49cf8f48420d4e91f2d480cf281bd2d79e999 (patch) | |
tree | 26a0b2f13d3c39b0da0fdcdd6f2fdbf06bdc636e /emulators/qemu-devel/files/patch-libmath4 | |
parent | 6a1c5fb9a79f259c9737a9bfa2ce5a164672585b (diff) |
This commit was manufactured by cvs2svn to create tag 'RELEASE_4_EOL'.4-eol
Notes
Notes:
svn path=/head/; revision=183609
svn path=/tags/RELEASE_4_EOL/; revision=183610; tag=4-eol
Diffstat (limited to 'emulators/qemu-devel/files/patch-libmath4')
-rw-r--r-- | emulators/qemu-devel/files/patch-libmath4 | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/emulators/qemu-devel/files/patch-libmath4 b/emulators/qemu-devel/files/patch-libmath4 deleted file mode 100644 index 0c482370b8ba..000000000000 --- a/emulators/qemu-devel/files/patch-libmath4 +++ /dev/null @@ -1,45 +0,0 @@ -Index: qemu/bsd/i386/s_ldexpl.c -@@ -2,6 +2,30 @@ - #include <errno.h> - #include <sysdep.h> - -+/* 4.x doesnt have isfinite */ -+#ifndef isfinite -+#define isfinite __isfinitel -+ -+union IEEEl2bits { -+ long double e; -+ struct { -+ unsigned int manl :32; -+ unsigned int manh :32; -+ unsigned int exp :15; -+ unsigned int sign :1; -+ unsigned int junk :16; -+ } bits; -+}; -+ -+static int __isfinitel(long double x) -+{ -+ union IEEEl2bits u; -+ -+ u.e = x; -+ return (u.bits.exp != 32767); -+} -+#endif -+ - long double __ldexpl(long double x, int expn) - { - long double res; -Index: qemu/bsd/i386/s_round.c -@@ -29,6 +29,11 @@ - - #include <math.h> - -+/* 4.x doesnt have isfinite */ -+#ifndef isfinite -+#define isfinite(x) (!isnan(x) && !isinf(x)) -+#endif -+ - double - round(double x) - { |