freebsd-ports/emulators/virtualbox-ose/files/patch-src-recompiler-Sun-testmath.c
Bernhard Froehlich 379ce3f230 - Update to 4.1.8
- Mark broken on FreeBSD < 8.0
- Fix lib32 checks to use /usr/lib32/libc.so
- R0 memobj rewrite [1]
- Fix INVARIANTS warning: acquiring duplicate lock of same type: "IPRT Fast Mutex Semaphore" [1]

Submitted by:	Andriy Gapon <avg@FreeBSD.org> [1]
Obtained from:	redports.org/~virtualbox/
2012-02-21 14:31:55 +00:00

22 lines
629 B
C

--- src/recompiler/Sun/testmath.c.orig 2011-01-14 21:15:07.000000000 +0100
+++ src/recompiler/Sun/testmath.c 2011-08-05 13:54:49.000000000 +0200
@@ -261,8 +261,6 @@
#endif
set_cw(0x27f);
- CHECK(logl(2.7182818284590452353602874713526625L), 1.0);
-
CHECK(remainderl(1.0L, 1.0L), 0.0);
CHECK(remainderl(1.0L, 1.5L), -0.5);
CHECK(remainderl(42.0L, 34.25L), 7.75);
@@ -315,10 +313,6 @@
CHECK(tanl(0.0L), 0.0);
CHECK(tanl(0.7853981633974483096156608458198757L), 1.0);
- CHECK(powl(0.0, 0.0), 1.0);
- CHECK(powl(2.0, 2.0), 4.0);
- CHECK(powl(3.0, 3.0), 27.0);
-
return cErrors;
}