/* j1l.c
*
* Bessel function of order one
*
*
*
* SYNOPSIS :
*
* long double x , y , j1l ( ) ;
*
* y = j1l ( x ) ;
*
*
*
* DESCRIPTION :
*
* Returns Bessel function of order one of the argument .
*
* The domain is divided into the intervals [ 0 , 9 ] and
* ( 9 , infinity ) . In the first interval the rational approximation
* is ( x ^ 2 - r ^ 2 ) ( x ^ 2 - s ^ 2 ) ( x ^ 2 - t ^ 2 ) x P8 ( x ^ 2 ) / Q8 ( x ^ 2 ) ,
* where r , s , t are the first three zeros of the function .
* In the second interval the expansion is in terms of the
* modulus M1 ( x ) = sqrt ( J1 ( x ) ^ 2 + Y1 ( x ) ^ 2 ) and phase P1 ( x )
* = atan ( Y1 ( x ) / J1 ( x ) ) . M1 is approximated by sqrt ( 1 / x ) P7 ( 1 / x ) / Q8 ( 1 / x ) .
* The approximation to j1 is M1 * cos ( x - 3 pi / 4 + 1 / x P5 ( 1 / x ^ 2 ) / Q6 ( 1 / x ^ 2 ) ) .
*
*
* ACCURACY :
*
* Absolute error :
* arithmetic domain # trials peak rms
* IEEE 0 , 30 40000 1 . 8 e - 19 5 . 0 e - 20
*
*
*/
/* y1l.c
*
* Bessel function of the second kind , order zero
*
*
*
* SYNOPSIS :
*
* double x , y , y1l ( ) ;
*
* y = y1l ( x ) ;
*
*
*
* DESCRIPTION :
*
* Returns Bessel function of the second kind , of order
* zero , of the argument .
*
* The domain is divided into the intervals [ 0 , 4 . 5 > , [ 4 . 5 , 9 > and
* [ 9 , infinity ) . In the first interval a rational approximation
* R ( x ) is employed to compute y0 ( x ) = R ( x ) + 2 / pi * log ( x ) * j0 ( x ) .
*
* In the second interval , the approximation is
* ( x - p ) ( x - q ) ( x - r ) ( x - s ) P9 ( x ) / Q10 ( x )
* where p , q , r , s are zeros of y1 ( x ) .
*
* The third interval uses the same approximations to modulus
* and phase as j1 ( x ) , whence y1 ( x ) = modulus * sin ( phase ) .
*
* ACCURACY :
*
* Absolute error , when y0 ( x ) < 1 ; else relative error :
*
* arithmetic domain # trials peak rms
* IEEE 0 , 30 36000 2 . 7 e - 19 5 . 3 e - 20
*
*/
/* Copyright 1994 by Stephen L. Moshier (moshier@world.std.com). */
#include "mconf.h"
/*
j1 ( x ) = ( x ^ 2 - r0 ^ 2 ) ( x ^ 2 - r1 ^ 2 ) ( x ^ 2 - r2 ^ 2 ) x P ( x * * 2 ) / Q ( x * * 2 )
0 < = x < = 9
Relative error
n = 8 , d = 8
Peak error = 2 e - 21
*/
#if UNK
static long double j1n[9 ] = {
-2 .63469779622127762897 E-4 L,
9 .31329762279632791262 E-1 L,
-1 .46280142797793933909 E3L,
1 .32000129539331214495 E6L,
-7 .41183271195454042842 E8L,
2 .626500686552841932403 E11L,
-5 .68263073022183470933 E13L,
6 .80006297997263446982 E15L,
-3 .41470097444474566748 E17L,
};
static long double j1d[8 ] = {
/* 1.00000000000000000000E0L,*/
2 .95267951972943745733 E3L,
4 .78723926343829674773 E6L,
5 .37544732957807543920 E9L,
4 .46866213886267829490 E12L,
2 .76959756375961607085 E15L,
1 .23367806884831151194 E18L,
3 .57325874689695599524 E20L,
5 .10779045516141578461 E22L,
};
#endif
#if IBMPC
static short j1n[] = {
0 xf72f,0 x18cc,0 x50b2,0 x8a22,0 xbff3, XPD
0 x6dc3,0 xc850,0 xa096,0 xee6b,0 x3ffe, XPD
0 x29f3,0 x496b,0 xa54c,0 xb6d9,0 xc009, XPD
0 x38f5,0 xf72b,0 x0a5c,0 xa122,0 x4013, XPD
0 x1ac8,0 xc825,0 x3c9c,0 xb0b6,0 xc01c, XPD
0 x038e,0 xbd23,0 xa7fa,0 xf49c,0 x4024, XPD
0 x636c,0 x4d29,0 x9f71,0 xcebb,0 xc02c, XPD
0 xd3c2,0 xf8f0,0 xf852,0 xc144,0 x4033, XPD
0 xd8d8,0 x7311,0 xa7d2,0 x97a4,0 xc039, XPD
};
static short j1d[] = {
/*0x0000,0x0000,0x0000,0x8000,0x3fff, XPD*/
0 xbaf9,0 x146e,0 xdf50,0 xb88a,0 x400a, XPD
0 x6a17,0 xe162,0 x4e86,0 x9218,0 x4015, XPD
0 x6041,0 xc9fe,0 x6890,0 xa033,0 x401f, XPD
0 xb498,0 xfdd5,0 x209e,0 x820e,0 x4029, XPD
0 x0122,0 x56c0,0 xf2ef,0 x9d6e,0 x4032, XPD
0 xe6c0,0 xa725,0 x3d56,0 x88f7,0 x403b, XPD
0 x665d,0 xb178,0 x242e,0 x9af7,0 x4043, XPD
0 xdd67,0 xf5b3,0 x0522,0 xad0f,0 x404a, XPD
};
#endif
#if MIEEE
static long j1n[27 ] = {
0 xbff30000,0 x8a2250b2,0 x18ccf72f,
0 x3ffe0000,0 xee6ba096,0 xc8506dc3,
0 xc0090000,0 xb6d9a54c,0 x496b29f3,
0 x40130000,0 xa1220a5c,0 xf72b38f5,
0 xc01c0000,0 xb0b63c9c,0 xc8251ac8,
0 x40240000,0 xf49ca7fa,0 xbd23038e,
0 xc02c0000,0 xcebb9f71,0 x4d29636c,
0 x40330000,0 xc144f852,0 xf8f0d3c2,
0 xc0390000,0 x97a4a7d2,0 x7311d8d8,
};
static long j1d[24 ] = {
/*0x3fff0000,0x80000000,0x00000000,*/
0 x400a0000,0 xb88adf50,0 x146ebaf9,
0 x40150000,0 x92184e86,0 xe1626a17,
0 x401f0000,0 xa0336890,0 xc9fe6041,
0 x40290000,0 x820e209e,0 xfdd5b498,
0 x40320000,0 x9d6ef2ef,0 x56c00122,
0 x403b0000,0 x88f73d56,0 xa725e6c0,
0 x40430000,0 x9af7242e,0 xb178665d,
0 x404a0000,0 xad0f0522,0 xf5b3dd67,
};
#endif
/*
sqrt ( j0 ^ 2 ( 1 / x ^ 2 ) + y0 ^ 2 ( 1 / x ^ 2 ) ) = z P ( z * * 2 ) / Q ( z * * 2 )
z ( x ) = 1 / sqrt ( x )
Relative error
n = 7 , d = 8
Peak error = 1 . 35 e = 20
Relative error spread = 9 . 9 e0
*/
#if UNK
static long double modulusn[8 ] = {
-5 .041742205078442098874 E0L,
3 .918474430130242177355 E-1 L,
2 .527521168680500659056 E0L,
7 .172146812845906480743 E0L,
2 .859499532295180940060 E0L,
1 .014671139779858141347 E0L,
1 .255798064266130869132 E-1 L,
1 .596507617085714650238 E-2 L,
};
static long double modulusd[8 ] = {
/* 1.000000000000000000000E0L,*/
-6 .233092094568239317498 E0L,
-9 .214128701852838347002 E-1 L,
2 .531772200570435289832 E0L,
8 .755081357265851765640 E0L,
3 .554340386955608261463 E0L,
1 .267949948774331531237 E0L,
1 .573909467558180942219 E-1 L,
2 .000925566825407466160 E-2 L,
};
#endif
#if IBMPC
static short modulusn[] = {
0 x3d53,0 xb598,0 xf3bf,0 xa155,0 xc001, XPD
0 x3111,0 x863a,0 x3a61,0 xc8a0,0 x3ffd, XPD
0 x7d55,0 xdb8c,0 xe825,0 xa1c2,0 x4000, XPD
0 xe5e2,0 x6914,0 x3a08,0 xe582,0 x4001, XPD
0 x71e6,0 x88a5,0 x0a53,0 xb702,0 x4000, XPD
0 x2cb0,0 xc657,0 xbe70,0 x81e0,0 x3fff, XPD
0 x6de4,0 x8fae,0 xfe26,0 x8097,0 x3ffc, XPD
0 xa905,0 x05fb,0 x3101,0 x82c9,0 x3ff9, XPD
};
static short modulusd[] = {
/*0x0000,0x0000,0x0000,0x8000,0x3fff, XPD*/
0 x2603,0 x640e,0 x7d8d,0 xc775,0 xc001, XPD
0 x77b5,0 x8f2d,0 xb6bf,0 xebe1,0 xbffe, XPD
0 x6420,0 x97ce,0 x8e44,0 xa208,0 x4000, XPD
0 x0260,0 x746b,0 xd030,0 x8c14,0 x4002, XPD
0 x77b6,0 x34e2,0 x501a,0 xe37a,0 x4000, XPD
0 x37ce,0 x79ae,0 x2f15,0 xa24c,0 x3fff, XPD
0 xfc82,0 x02c7,0 x17a4,0 xa12b,0 x3ffc, XPD
0 x1237,0 xcc6c,0 x7356,0 xa3ea,0 x3ff9, XPD
};
#endif
#if MIEEE
static long modulusn[24 ] = {
0 xc0010000,0 xa155f3bf,0 xb5983d53,
0 x3ffd0000,0 xc8a03a61,0 x863a3111,
0 x40000000,0 xa1c2e825,0 xdb8c7d55,
0 x40010000,0 xe5823a08,0 x6914e5e2,
0 x40000000,0 xb7020a53,0 x88a571e6,
0 x3fff0000,0 x81e0be70,0 xc6572cb0,
0 x3ffc0000,0 x8097fe26,0 x8fae6de4,
0 x3ff90000,0 x82c93101,0 x05fba905,
};
static long modulusd[24 ] = {
/*0x3fff0000,0x80000000,0x00000000,*/
0 xc0010000,0 xc7757d8d,0 x640e2603,
0 xbffe0000,0 xebe1b6bf,0 x8f2d77b5,
0 x40000000,0 xa2088e44,0 x97ce6420,
0 x40020000,0 x8c14d030,0 x746b0260,
0 x40000000,0 xe37a501a,0 x34e277b6,
0 x3fff0000,0 xa24c2f15,0 x79ae37ce,
0 x3ffc0000,0 xa12b17a4,0 x02c7fc82,
0 x3ff90000,0 xa3ea7356,0 xcc6c1237,
};
#endif
/*
atan ( y1 ( x ) / j1 ( x ) ) = x - 3 pi / 4 + z P ( z * * 2 ) / Q ( z * * 2 )
z ( x ) = 1 / x
Absolute error
n = 5 , d = 6
Peak error = 4 . 83 e - 21
Relative error spread = 1 . 9 e0
*/
#if UNK
static long double phasen[6 ] = {
2 .010456367705144783933 E0L,
1 .587378144541918176658 E0L,
2 .682837461073751055565 E-1 L,
1 .472572645054468815027 E-2 L,
2 .884976126715926258586 E-4 L,
1 .708502235134706284899 E-6 L,
};
static long double phased[6 ] = {
/* 1.000000000000000000000E0L,*/
6 .809332495854873089362 E0L,
4 .518597941618813112665 E0L,
7 .320149039410806471101 E-1 L,
3 .960155028960712309814 E-2 L,
7 .713202197319040439861 E-4 L,
4 .556005960359216767984 E-6 L,
};
#endif
#if IBMPC
static short phasen[] = {
0 xebc0,0 x5506,0 x512f,0 x80ab,0 x4000, XPD
0 x6050,0 x98aa,0 x3500,0 xcb2f,0 x3fff, XPD
0 xe907,0 x28b9,0 x7cb7,0 x895c,0 x3ffd, XPD
0 xa830,0 xf4a3,0 x2c60,0 xf144,0 x3ff8, XPD
0 xf74f,0 xbe87,0 x7e7d,0 x9741,0 x3ff3, XPD
0 x540c,0 xc1d5,0 xb096,0 xe54f,0 x3feb, XPD
};
static short phased[] = {
/*0x0000,0x0000,0x0000,0x8000,0x3fff, XPD*/
0 xefe3,0 x292c,0 x0d43,0 xd9e6,0 x4001, XPD
0 xb1f2,0 xe0d2,0 x5ab5,0 x9098,0 x4001, XPD
0 xc39e,0 x9c8c,0 x5428,0 xbb65,0 x3ffe, XPD
0 x98f8,0 xd610,0 x3c35,0 xa235,0 x3ffa, XPD
0 xa853,0 x55fb,0 x6c79,0 xca32,0 x3ff4, XPD
0 x8d72,0 x2be3,0 xcb0f,0 x98df,0 x3fed, XPD
};
#endif
#if MIEEE
static long phasen[18 ] = {
0 x40000000,0 x80ab512f,0 x5506ebc0,
0 x3fff0000,0 xcb2f3500,0 x98aa6050,
0 x3ffd0000,0 x895c7cb7,0 x28b9e907,
0 x3ff80000,0 xf1442c60,0 xf4a3a830,
0 x3ff30000,0 x97417e7d,0 xbe87f74f,
0 x3feb0000,0 xe54fb096,0 xc1d5540c,
};
static long phased[18 ] = {
/*0x3fff0000,0x80000000,0x00000000,*/
0 x40010000,0 xd9e60d43,0 x292cefe3,
0 x40010000,0 x90985ab5,0 xe0d2b1f2,
0 x3ffe0000,0 xbb655428,0 x9c8cc39e,
0 x3ffa0000,0 xa2353c35,0 xd61098f8,
0 x3ff40000,0 xca326c79,0 x55fba853,
0 x3fed0000,0 x98dfcb0f,0 x2be38d72,
};
#endif
#define JZ1 1 .46819706421238932572 e1L
#define JZ2 4 .92184563216946036703 e1L
#define JZ3 1 .03499453895136580332 e2L
#define THPIO4L 2 .35619449019234492885 L
#ifdef ANSIPROT
extern long double sqrtl ( long double );
extern long double fabsl ( long double );
extern long double polevll ( long double , void *, int );
extern long double p1evll ( long double , void *, int );
extern long double cosl ( long double );
extern long double sinl ( long double );
extern long double logl ( long double );
long double j1l (long double );
#else
long double sqrtl(), fabsl(), polevll(), p1evll(), cosl(), sinl(), logl();
long double j1l();
#endif
long double j1l(x)
long double x;
{
long double xx, y, z, modulus, phase;
xx = x * x;
if ( xx < 81 .0 L )
{
y = (xx - JZ1) * (xx - JZ2) * (xx - JZ3);
y *= x * polevll( xx, j1n, 8 ) / p1evll( xx, j1d, 8 );
return y;
}
y = fabsl(x);
xx = 1 .0 /xx;
phase = polevll( xx, phasen, 5 ) / p1evll( xx, phased, 6 );
z = 1 .0 /y;
modulus = polevll( z, modulusn, 7 ) / p1evll( z, modulusd, 8 );
y = modulus * cosl( y - THPIO4L + z*phase) / sqrtl(y);
if ( x < 0 )
y = -y;
return y;
}
/*
y1 ( x ) = 2 / pi * ( log ( x ) * j1 ( x ) - 1 / x ) + R ( x ^ 2 ) z P ( z * * 2 ) / Q ( z * * 2 )
0 < = x < = 4 . 5
z ( x ) = x
Absolute error
n = 6 , d = 7
Peak error = 7 . 25 e - 22
Relative error spread = 4 . 5 e - 2
*/
#if UNK
static long double y1n[7 ] = {
-1 .288901054372751879531 E5L,
9 .914315981558815369372 E7L,
-2 .906793378120403577274 E10L,
3 .954354656937677136266 E12L,
-2 .445982226888344140154 E14L,
5 .685362960165615942886 E15L,
-2 .158855258453711703120 E16L,
};
static long double y1d[7 ] = {
/* 1.000000000000000000000E0L,*/
8 .926354644853231136073 E2L,
4 .679841933793707979659 E5L,
1 .775133253792677466651 E8L,
5 .089532584184822833416 E10L,
1 .076474894829072923244 E13L,
1 .525917240904692387994 E15L,
1 .101136026928555260168 E17L,
};
#endif
#if IBMPC
static short y1n[] = {
0 x5b16,0 xf7f8,0 x0d7e,0 xfbbd,0 xc00f, XPD
0 x53e4,0 x194c,0 xbefa,0 xbd19,0 x4019, XPD
0 x7607,0 xa687,0 xaf0a,0 xd892,0 xc021, XPD
0 x5633,0 xaa6b,0 x79e5,0 xe62c,0 x4028, XPD
0 x69fd,0 x1242,0 xf62d,0 xde75,0 xc02e, XPD
0 x7f8b,0 x4757,0 x75bd,0 xa196,0 x4033, XPD
0 x3a10,0 x0848,0 x5930,0 x9965,0 xc035, XPD
};
static short y1d[] = {
/*0x0000,0x0000,0x0000,0x8000,0x3fff, XPD*/
0 xdd1a,0 x3b8e,0 xab73,0 xdf28,0 x4008, XPD
0 x298c,0 x29ef,0 x0630,0 xe482,0 x4011, XPD
0 x0e86,0 x117b,0 x36d6,0 xa94a,0 x401a, XPD
0 x57e0,0 x1d92,0 x90a9,0 xbd99,0 x4022, XPD
0 xaaf0,0 x342b,0 xd098,0 x9ca5,0 x402a, XPD
0 x8c6a,0 x397e,0 x0963,0 xad7a,0 x4031, XPD
0 x7302,0 xb91b,0 xde7e,0 xc399,0 x4037, XPD
};
#endif
#if MIEEE
static long y1n[21 ] = {
0 xc00f0000,0 xfbbd0d7e,0 xf7f85b16,
0 x40190000,0 xbd19befa,0 x194c53e4,
0 xc0210000,0 xd892af0a,0 xa6877607,
0 x40280000,0 xe62c79e5,0 xaa6b5633,
0 xc02e0000,0 xde75f62d,0 x124269fd,
0 x40330000,0 xa19675bd,0 x47577f8b,
0 xc0350000,0 x99655930,0 x08483a10,
};
static long y1d[21 ] = {
/*0x3fff0000,0x80000000,0x00000000,*/
0 x40080000,0 xdf28ab73,0 x3b8edd1a,
0 x40110000,0 xe4820630,0 x29ef298c,
0 x401a0000,0 xa94a36d6,0 x117b0e86,
0 x40220000,0 xbd9990a9,0 x1d9257e0,
0 x402a0000,0 x9ca5d098,0 x342baaf0,
0 x40310000,0 xad7a0963,0 x397e8c6a,
0 x40370000,0 xc399de7e,0 xb91b7302,
};
#endif
/*
y1 ( x ) = ( x - YZ1 ) ( x - YZ2 ) ( x - YZ3 ) ( x - YZ4 ) R ( x ) P ( z ) / Q ( z )
z ( x ) = x
4 . 5 < = x < = 9
Absolute error
n = 9 , d = 10
Peak error = 3 . 27 e - 22
Relative error spread = 4 . 5 e - 2
*/
#if UNK
static long double y159n[10 ] = {
-6 .806634906054210550896 E-1 L,
4 .306669585790359450532 E1L,
-9 .230477746767243316014 E2L,
6 .171186628598134035237 E3L,
2 .096869860275353982829 E4L,
-1 .238961670382216747944 E5L,
-1 .781314136808997406109 E6L,
-1 .803400156074242435454 E6L,
-1 .155761550219364178627 E6L,
3 .112221202330688509818 E5L,
};
static long double y159d[10 ] = {
/* 1.000000000000000000000E0L,*/
-6 .181482377814679766978 E1L,
2 .238187927382180589099 E3L,
-5 .225317824142187494326 E4L,
9 .217235006983512475118 E5L,
-1 .183757638771741974521 E7L,
1 .208072488974110742912 E8L,
-8 .193431077523942651173 E8L,
4 .282669747880013349981 E9L,
-1 .171523459555524458808 E9L,
1 .078445545755236785692 E8L,
};
#endif
#if IBMPC
static short y159n[] = {
0 xb5e5,0 xbb42,0 xf667,0 xae3f,0 xbffe, XPD
0 xfdf1,0 x41e5,0 x4beb,0 xac44,0 x4004, XPD
0 xe917,0 x8486,0 x0ebd,0 xe6c3,0 xc008, XPD
0 xdf40,0 x226b,0 x7e37,0 xc0d9,0 x400b, XPD
0 xb2bf,0 x4296,0 x65af,0 xa3d1,0 x400d, XPD
0 xa33b,0 x8229,0 x1561,0 xf1fc,0 xc00f, XPD
0 xcd43,0 x2f50,0 x1118,0 xd972,0 xc013, XPD
0 x3811,0 xa3da,0 x413f,0 xdc24,0 xc013, XPD
0 xf62f,0 xd968,0 x8c66,0 x8d15,0 xc013, XPD
0 x539b,0 xf305,0 xc3d8,0 x97f6,0 x4011, XPD
};
static short y159d[] = {
/*0x0000,0x0000,0x0000,0x8000,0x3fff, XPD*/
0 x1a6c,0 x1c93,0 x612a,0 xf742,0 xc004, XPD
0 xd0fe,0 x2487,0 x01c0,0 x8be3,0 x400a, XPD
0 xbed4,0 x3ad5,0 x2da1,0 xcc1d,0 xc00e, XPD
0 x3c4f,0 xdc46,0 xb802,0 xe107,0 x4012, XPD
0 xe5e5,0 x4172,0 x8863,0 xb4a0,0 xc016, XPD
0 x6de5,0 xb797,0 xea1c,0 xe66b,0 x4019, XPD
0 xa46a,0 x0273,0 xbc0f,0 xc358,0 xc01c, XPD
0 x8e0e,0 xe148,0 x5ab3,0 xff44,0 x401e, XPD
0 xb3ad,0 x1c6d,0 x0f07,0 x8ba8,0 xc01d, XPD
0 xa231,0 x6ab0,0 x7952,0 xcdb2,0 x4019, XPD
};
#endif
#if MIEEE
static long y159n[30 ] = {
0 xbffe0000,0 xae3ff667,0 xbb42b5e5,
0 x40040000,0 xac444beb,0 x41e5fdf1,
0 xc0080000,0 xe6c30ebd,0 x8486e917,
0 x400b0000,0 xc0d97e37,0 x226bdf40,
0 x400d0000,0 xa3d165af,0 x4296b2bf,
0 xc00f0000,0 xf1fc1561,0 x8229a33b,
0 xc0130000,0 xd9721118,0 x2f50cd43,
0 xc0130000,0 xdc24413f,0 xa3da3811,
0 xc0130000,0 x8d158c66,0 xd968f62f,
0 x40110000,0 x97f6c3d8,0 xf305539b,
};
static long y159d[30 ] = {
/*0x3fff0000,0x80000000,0x00000000,*/
0 xc0040000,0 xf742612a,0 x1c931a6c,
0 x400a0000,0 x8be301c0,0 x2487d0fe,
0 xc00e0000,0 xcc1d2da1,0 x3ad5bed4,
0 x40120000,0 xe107b802,0 xdc463c4f,
0 xc0160000,0 xb4a08863,0 x4172e5e5,
0 x40190000,0 xe66bea1c,0 xb7976de5,
0 xc01c0000,0 xc358bc0f,0 x0273a46a,
0 x401e0000,0 xff445ab3,0 xe1488e0e,
0 xc01d0000,0 x8ba80f07,0 x1c6db3ad,
0 x40190000,0 xcdb27952,0 x6ab0a231,
};
#endif
extern long double MAXNUML;
/* #define MAXNUML 1.18973149535723176502e4932L */
#define TWOOPI 6 .36619772367581343075535 e-1 L
#define THPIO4 2 .35619449019234492885 L
#define Y1Z1 2 .19714132603101703515 e0L
#define Y1Z2 5 .42968104079413513277 e0L
#define Y1Z3 8 .59600586833116892643 e0L
#define Y1Z4 1 .17491548308398812434 e1L
long double y1l(x)
long double x;
{
long double xx, y, z, modulus, phase;
if ( x < 0 .0 )
{
return (-MAXNUML);
}
z = 1 .0 /x;
xx = x * x;
if ( xx < 81 .0 L )
{
if ( xx < 20 .25 L )
{
y = TWOOPI * (logl(x) * j1l(x) - z);
y += x * polevll( xx, y1n, 6 ) / p1evll( xx, y1d, 7 );
}
else
{
y = (x - Y1Z1)*(x - Y1Z2)*(x - Y1Z3)*(x - Y1Z4);
y *= polevll( x, y159n, 9 ) / p1evll( x, y159d, 10 );
}
return y;
}
xx = 1 .0 /xx;
phase = polevll( xx, phasen, 5 ) / p1evll( xx, phased, 6 );
modulus = polevll( z, modulusn, 7 ) / p1evll( z, modulusd, 8 );
z = modulus * sinl( x - THPIO4L + z*phase) / sqrtl(x);
return z;
}
Messung V0.5 in Prozent C=96 H=100 G=97
¤ Dauer der Verarbeitung: 0.16 Sekunden
(vorverarbeitet am 2026-06-13)
¤
*© Formatika GbR, Deutschland