Home | History | Annotate | Download | only in libaudioprocessing

Lines Matching defs:x2

251 inline double Poly3(double A, double B, double C, double x, double x2) {
252 return Poly2(A, B, x) + C * x2;
259 inline double Poly4(double A, double B, double C, double D, double x, double x2) {
260 return Poly2(A, B, x) + Poly2(C, D, x) * x2; // same as poly2(poly2, poly2, x2);
269 double x2 = x * x;
270 return Poly4(A, B, C, D, x, x2) + Poly3(E, F, G, x, x2) * (x2 * x2);
274 double H, double x, double x2, double x4) {
275 return Poly4(A, B, C, D, x, x2) + Poly4(E, F, G, H, x, x2) * x4;
280 double x2 = x * x;
284 double x4 = x2 * x2;
285 return Poly8(A, B, C, D, E, F, G, H, x, x2, x4) + I * (x4 * x4);
287 double val = Poly4(A, B, C, D, x, x2);
288 double x4 = x2 * x2;
289 return val + Poly4(E, F, G, H, x, x2) * x4 + I * (x4 * x4);
375 static inline double I0SqrRat(double x2, double num, double den) {
376 if (x2 < (3.75 * 3.75)) {
380 I0Term<6>::value, x2) * num / den; // e < 1.6e-7
386 -0.18257612460e-6, x2); // e < 10^(-7.13).
387 double y = x2 - 225.; // reflection around 15 (squared)