From c4b1aad9763c8e095fbfd8d37ab015cfe8f2e2ad Mon Sep 17 00:00:00 2001 From: Daniel Reinhold Date: Sat, 26 Oct 2002 20:39:16 +0000 Subject: [PATCH] updated files to use the new private libroot include directory git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1696 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kernel/libroot/posix/math/Jamfile | 1 + src/kernel/libroot/posix/math/acosh.c | 2 +- src/kernel/libroot/posix/math/asinh.c | 3 ++- src/kernel/libroot/posix/math/atan2.c | 2 +- src/kernel/libroot/posix/math/atanh.c | 3 ++- src/kernel/libroot/posix/math/cabs.c | 3 ++- src/kernel/libroot/posix/math/cosh.c | 2 +- src/kernel/libroot/posix/math/erf.c | 2 +- src/kernel/libroot/posix/math/exp.c | 3 ++- src/kernel/libroot/posix/math/exp__E.c | 2 +- src/kernel/libroot/posix/math/expm1.c | 2 +- src/kernel/libroot/posix/math/floor.c | 2 +- src/kernel/libroot/posix/math/fmod.c | 2 +- src/kernel/libroot/posix/math/gamma.c | 2 +- src/kernel/libroot/posix/math/ieee.c | 2 +- src/kernel/libroot/posix/math/lgamma.c | 2 +- src/kernel/libroot/posix/math/log.c | 2 +- src/kernel/libroot/posix/math/log10.c | 2 +- src/kernel/libroot/posix/math/log1p.c | 2 +- src/kernel/libroot/posix/math/log__L.c | 2 +- src/kernel/libroot/posix/math/pow.c | 4 ++-- src/kernel/libroot/posix/math/sincos.c | 3 ++- src/kernel/libroot/posix/math/sinh.c | 2 +- src/kernel/libroot/posix/math/tan.c | 3 ++- 24 files changed, 31 insertions(+), 24 deletions(-) diff --git a/src/kernel/libroot/posix/math/Jamfile b/src/kernel/libroot/posix/math/Jamfile index 5d8ab83cb3..64f5bba1ca 100644 --- a/src/kernel/libroot/posix/math/Jamfile +++ b/src/kernel/libroot/posix/math/Jamfile @@ -27,6 +27,7 @@ KernelObjects <$(SOURCE_GRIST)>log1p.c <$(SOURCE_GRIST)>log__L.c <$(SOURCE_GRIST)>pow.c + <$(SOURCE_GRIST)>math_globals.c <$(SOURCE_GRIST)>sincos.c <$(SOURCE_GRIST)>sinh.c <$(SOURCE_GRIST)>tan.c diff --git a/src/kernel/libroot/posix/math/acosh.c b/src/kernel/libroot/posix/math/acosh.c index dbe0d2896a..8747f264f7 100644 --- a/src/kernel/libroot/posix/math/acosh.c +++ b/src/kernel/libroot/posix/math/acosh.c @@ -68,7 +68,7 @@ * shown. */ -#include "mathimpl.h" +#include vc(ln2hi, 6.9314718055829871446E-1 ,7217,4031,0000,f7d0, 0, .B17217F7D00000) vc(ln2lo, 1.6465949582897081279E-12 ,bcd5,2ce7,d9cc,e4f1, -39, .E7BCD5E4F1D9CC) diff --git a/src/kernel/libroot/posix/math/asinh.c b/src/kernel/libroot/posix/math/asinh.c index ff0ce0b226..4199f8d478 100644 --- a/src/kernel/libroot/posix/math/asinh.c +++ b/src/kernel/libroot/posix/math/asinh.c @@ -63,7 +63,8 @@ * from decimal to binary accurately enough to produce the hexadecimal values * shown. */ -#include "mathimpl.h" + +#include vc(ln2hi, 6.9314718055829871446E-1 ,7217,4031,0000,f7d0, 0, .B17217F7D00000) vc(ln2lo, 1.6465949582897081279E-12 ,bcd5,2ce7,d9cc,e4f1, -39, .E7BCD5E4F1D9CC) diff --git a/src/kernel/libroot/posix/math/atan2.c b/src/kernel/libroot/posix/math/atan2.c index 118517dc9f..ea789a4f9c 100644 --- a/src/kernel/libroot/posix/math/atan2.c +++ b/src/kernel/libroot/posix/math/atan2.c @@ -105,7 +105,7 @@ * shown. */ -#include "mathimpl.h" +#include vc(athfhi, 4.6364760900080611433E-1 ,6338,3fed,da7b,2b0d, -1, .ED63382B0DDA7B) vc(athflo, 1.9338828231967579916E-19 ,5005,2164,92c0,9cfe, -62, .E450059CFE92C0) diff --git a/src/kernel/libroot/posix/math/atanh.c b/src/kernel/libroot/posix/math/atanh.c index e1f98432c8..4749a89776 100644 --- a/src/kernel/libroot/posix/math/atanh.c +++ b/src/kernel/libroot/posix/math/atanh.c @@ -57,7 +57,8 @@ * observed error was 1.87 ulps (units in the last place) at * x= -3.8962076028810414000e-03. */ -#include "mathimpl.h" + +#include #if defined(vax)||defined(tahoe) #include diff --git a/src/kernel/libroot/posix/math/cabs.c b/src/kernel/libroot/posix/math/cabs.c index 8f3e59ac31..6301b35031 100644 --- a/src/kernel/libroot/posix/math/cabs.c +++ b/src/kernel/libroot/posix/math/cabs.c @@ -83,7 +83,8 @@ * from decimal to binary accurately enough to produce the hexadecimal values * shown. */ -#include "mathimpl.h" + +#include vc(r2p1hi, 2.4142135623730950345E0 ,8279,411a,ef32,99fc, 2, .9A827999FCEF32) vc(r2p1lo, 1.4349369327986523769E-17 ,597d,2484,754b,89b3, -55, .84597D89B3754B) diff --git a/src/kernel/libroot/posix/math/cosh.c b/src/kernel/libroot/posix/math/cosh.c index 296b63c0f8..b63606a2dd 100644 --- a/src/kernel/libroot/posix/math/cosh.c +++ b/src/kernel/libroot/posix/math/cosh.c @@ -78,7 +78,7 @@ * shown. */ -#include "mathimpl.h" +#include vc(mln2hi, 8.8029691931113054792E1 ,0f33,43b0,2bdb,c7e2, 7, .B00F33C7E22BDB) vc(mln2lo,-4.9650192275318476525E-16 ,1b60,a70f,582a,279e, -50,-.8F1B60279E582A) diff --git a/src/kernel/libroot/posix/math/erf.c b/src/kernel/libroot/posix/math/erf.c index c108fe3777..eb6e44c7c1 100644 --- a/src/kernel/libroot/posix/math/erf.c +++ b/src/kernel/libroot/posix/math/erf.c @@ -140,7 +140,7 @@ */ #include -#include "mathimpl.h" +#include #if defined(vax) || defined(tahoe) #define _IEEE 0 diff --git a/src/kernel/libroot/posix/math/exp.c b/src/kernel/libroot/posix/math/exp.c index dd8ff433b4..0f3105a042 100644 --- a/src/kernel/libroot/posix/math/exp.c +++ b/src/kernel/libroot/posix/math/exp.c @@ -73,7 +73,8 @@ * shown. */ -#include "mathimpl.h" +#include + vc(ln2hi, 6.9314718055829871446E-1 ,7217,4031,0000,f7d0, 0, .B17217F7D00000) vc(ln2lo, 1.6465949582897081279E-12 ,bcd5,2ce7,d9cc,e4f1, -39, .E7BCD5E4F1D9CC) diff --git a/src/kernel/libroot/posix/math/exp__E.c b/src/kernel/libroot/posix/math/exp__E.c index 4369e6b283..67d72d4237 100644 --- a/src/kernel/libroot/posix/math/exp__E.c +++ b/src/kernel/libroot/posix/math/exp__E.c @@ -82,7 +82,7 @@ * shown. */ -#include "mathimpl.h" +#include vc(p1, 1.5150724356786683059E-2 ,3abe,3d78,066a,67e1, -6, .F83ABE67E1066A) vc(p2, 6.3112487873718332688E-5 ,5b42,3984,0173,48cd, -13, .845B4248CD0173) diff --git a/src/kernel/libroot/posix/math/expm1.c b/src/kernel/libroot/posix/math/expm1.c index 029e7d285b..e6aa4705ba 100644 --- a/src/kernel/libroot/posix/math/expm1.c +++ b/src/kernel/libroot/posix/math/expm1.c @@ -82,7 +82,7 @@ * shown. */ -#include "mathimpl.h" +#include vc(ln2hi, 6.9314718055829871446E-1 ,7217,4031,0000,f7d0, 0, .B17217F7D00000) vc(ln2lo, 1.6465949582897081279E-12 ,bcd5,2ce7,d9cc,e4f1, -39, .E7BCD5E4F1D9CC) diff --git a/src/kernel/libroot/posix/math/floor.c b/src/kernel/libroot/posix/math/floor.c index 640ab9fae2..d0c0e3b574 100644 --- a/src/kernel/libroot/posix/math/floor.c +++ b/src/kernel/libroot/posix/math/floor.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. */ -#include "mathimpl.h" +#include vc(L, 4503599627370496.0E0 ,0000,5c00,0000,0000, 55, 1.0) /* 2**55 */ diff --git a/src/kernel/libroot/posix/math/fmod.c b/src/kernel/libroot/posix/math/fmod.c index e4a6425f50..bd716b721d 100644 --- a/src/kernel/libroot/posix/math/fmod.c +++ b/src/kernel/libroot/posix/math/fmod.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. */ -#include +#include /* fmod.c * diff --git a/src/kernel/libroot/posix/math/gamma.c b/src/kernel/libroot/posix/math/gamma.c index f02c092f56..fc9f538949 100644 --- a/src/kernel/libroot/posix/math/gamma.c +++ b/src/kernel/libroot/posix/math/gamma.c @@ -39,7 +39,7 @@ */ #include -#include "mathimpl.h" +#include #include /* METHOD: diff --git a/src/kernel/libroot/posix/math/ieee.c b/src/kernel/libroot/posix/math/ieee.c index ee9fa14e22..3ff6a69df3 100644 --- a/src/kernel/libroot/posix/math/ieee.c +++ b/src/kernel/libroot/posix/math/ieee.c @@ -69,7 +69,7 @@ * REVISED BY K.C. NG on 1/22/85, 2/13/85, 3/24/85. */ -#include "mathimpl.h" +#include #if defined(vax)||defined(tahoe) /* VAX D format */ #include diff --git a/src/kernel/libroot/posix/math/lgamma.c b/src/kernel/libroot/posix/math/lgamma.c index 072acf7b09..c1ca74b479 100644 --- a/src/kernel/libroot/posix/math/lgamma.c +++ b/src/kernel/libroot/posix/math/lgamma.c @@ -39,9 +39,9 @@ */ #include +#include #include -#include "mathimpl.h" /* Log gamma function. * Error: x > 0 error < 1.3ulp. diff --git a/src/kernel/libroot/posix/math/log.c b/src/kernel/libroot/posix/math/log.c index 7480b8acbd..c45def28a9 100644 --- a/src/kernel/libroot/posix/math/log.c +++ b/src/kernel/libroot/posix/math/log.c @@ -32,9 +32,9 @@ */ #include +#include #include -#include "mathimpl.h" /* Table-driven natural logarithm. * diff --git a/src/kernel/libroot/posix/math/log10.c b/src/kernel/libroot/posix/math/log10.c index f88acccb1d..ac29ad1d76 100644 --- a/src/kernel/libroot/posix/math/log10.c +++ b/src/kernel/libroot/posix/math/log10.c @@ -69,7 +69,7 @@ * shown. */ -#include "mathimpl.h" +#include vc(ln10hi, 2.3025850929940456790E0 ,5d8d,4113,a8ac,ddaa, 2, .935D8DDDAAA8AC) diff --git a/src/kernel/libroot/posix/math/log1p.c b/src/kernel/libroot/posix/math/log1p.c index 5fa013f53f..b18b3bbc36 100644 --- a/src/kernel/libroot/posix/math/log1p.c +++ b/src/kernel/libroot/posix/math/log1p.c @@ -90,8 +90,8 @@ * shown. */ +#include #include -#include "mathimpl.h" vc(ln2hi, 6.9314718055829871446E-1 ,7217,4031,0000,f7d0, 0, .B17217F7D00000) vc(ln2lo, 1.6465949582897081279E-12 ,bcd5,2ce7,d9cc,e4f1, -39, .E7BCD5E4F1D9CC) diff --git a/src/kernel/libroot/posix/math/log__L.c b/src/kernel/libroot/posix/math/log__L.c index 105140a0b8..0d5c9191dd 100644 --- a/src/kernel/libroot/posix/math/log__L.c +++ b/src/kernel/libroot/posix/math/log__L.c @@ -65,7 +65,7 @@ * shown. */ -#include "mathimpl.h" +#include vc(L1, 6.6666666666666703212E-1 ,aaaa,402a,aac5,aaaa, 0, .AAAAAAAAAAAAC5) vc(L2, 3.9999999999970461961E-1 ,cccc,3fcc,2684,cccc, -1, .CCCCCCCCCC2684) diff --git a/src/kernel/libroot/posix/math/pow.c b/src/kernel/libroot/posix/math/pow.c index 8991f55134..7d873d312a 100644 --- a/src/kernel/libroot/posix/math/pow.c +++ b/src/kernel/libroot/posix/math/pow.c @@ -100,10 +100,10 @@ * shown. */ -#include #include +#include +#include -#include "mathimpl.h" #if (defined(vax) || defined(tahoe)) #define TRUNC(x) x = (double) (float) x diff --git a/src/kernel/libroot/posix/math/sincos.c b/src/kernel/libroot/posix/math/sincos.c index c3d7ba5dcd..5d472835dd 100644 --- a/src/kernel/libroot/posix/math/sincos.c +++ b/src/kernel/libroot/posix/math/sincos.c @@ -31,7 +31,8 @@ * SUCH DAMAGE. */ -#include "trig.h" +#include + double sin(double x) { diff --git a/src/kernel/libroot/posix/math/sinh.c b/src/kernel/libroot/posix/math/sinh.c index 3060eee13f..dafc8bc1af 100644 --- a/src/kernel/libroot/posix/math/sinh.c +++ b/src/kernel/libroot/posix/math/sinh.c @@ -71,7 +71,7 @@ * shown. */ -#include "mathimpl.h" +#include vc(mln2hi, 8.8029691931113054792E1 ,0f33,43b0,2bdb,c7e2, 7, .B00F33C7E22BDB) vc(mln2lo,-4.9650192275318476525E-16 ,1b60,a70f,582a,279e, -50,-.8F1B60279E582A) diff --git a/src/kernel/libroot/posix/math/tan.c b/src/kernel/libroot/posix/math/tan.c index a8de86c652..6b6d298f44 100644 --- a/src/kernel/libroot/posix/math/tan.c +++ b/src/kernel/libroot/posix/math/tan.c @@ -31,7 +31,8 @@ * SUCH DAMAGE. */ -#include "trig.h" +#include + double tan(double x) {