Lines Matching defs:cos
669 * kernel cos function on [-pi/4, pi/4], pi/4 ~ 0.785398164
674 * 1. Since cos(-x) = cos(x), we need only to consider positive x.
676 * 3. cos(x) is approximated by a polynomial of degree 14 on
679 * cos(x) ~ 1 - x*x/2 + C1*x + ... + C6*x
683 * |cos(x)-(1-.5*x +C1*x +C2*x +C3*x +C4*x +C5*x +C6*x )| <= 2
688 * cos(x) = 1 - x*x/2 + r
689 * since cos(x+y) ~ cos(x) - sin(x)*y
690 * ~ cos(x) - x*y,
691 * a correction term is necessary in cos(x) and hence
692 * cos(x+y) = 1 - (x*x/2 - (r - x*y))
696 * cos(x+y) = (1-qx) - ((x*x/2-qx) - (r-x*y)).
890 * Let S,C and T denote the sin, cos and tan respectively on
895 * n sin(x) cos(x) tan(x)
904 * Let trig be any of sin, cos, or tan.
968 /* cos(x)
978 cos (double x)
993 /* cos(Inf or NaN) is NaN */
1023 } /* cos */