Lines Matching refs:PI
25 assert (Math.cos (Math.PI) > -1.0 * mod_p);
26 assert (Math.cos (Math.PI) < -1.0 * mod_m);
28 assert (Math.cos (Math.PI / 2) > -delta);
29 assert (Math.cos (Math.PI / 2) < +delta);
30 assert (Math.cos (-Math.PI / 2) > -delta);
31 assert (Math.cos (-Math.PI / 2) < +delta);
33 assert (Math.cos (Math.PI / 4) > mod_m * Math.SQRT2 / 2);
34 assert (Math.cos (Math.PI / 4) < mod_p * Math.SQRT2 / 2);
36 assert (Math.cos (-Math.PI / 4) > mod_m * Math.SQRT2 / 2);
37 assert (Math.cos (-Math.PI / 4) < mod_p * Math.SQRT2 / 2);
45 assert (Math.sin (Math.PI) > -delta);
46 assert (Math.sin (Math.PI) < +delta);
48 assert (Math.sin (Math.PI / 2) > 1.0 * mod_m);
49 assert (Math.sin (Math.PI / 2) < 1.0 * mod_p);
51 assert (Math.sin (-Math.PI / 2) > -1.0 * mod_p);
52 assert (Math.sin (-Math.PI / 2) < -1.0 * mod_m);
54 assert (Math.sin (Math.PI / 4) > mod_m * Math.SQRT2 / 2);
55 assert (Math.sin (Math.PI / 4) < mod_p * Math.SQRT2 / 2);
57 assert (Math.sin (-Math.PI / 4) > -mod_p * Math.SQRT2 / 2);
58 assert (Math.sin (-Math.PI / 4) < -mod_m * Math.SQRT2 / 2);
62 for (var x = -2 * Math.PI; x <= 2 * Math.PI; x += step)