Lines Matching refs:sin
2 Test return type and value for expected input sin()
25 echo "sin 30 = ";
26 var_dump(sin($thirty));
27 if (allowed_rounding_error(sin($thirty),0.5)) {
34 echo "sin 60 = ";
35 var_dump(sin($sixty));
36 if (allowed_rounding_error(sin($sixty),0.86602540378444)) {
43 echo "sin 90 = ";
44 var_dump(sin($ninety));
45 if (allowed_rounding_error(sin($ninety),1.0)) {
52 echo "sin 180 = ";
53 var_dump(sin($oneeighty));
54 if (allowed_rounding_error(sin($oneeighty),0.0)) {
61 echo "sin 270 = ";
62 var_dump(sin($twoseventy));
63 if (allowed_rounding_error(sin($twoseventy),-1.0)) {
70 echo "sin 360 = ";
71 var_dump(sin($threesixty));
72 if (allowed_rounding_error(sin($threesixty),0.0)) {
80 sin 30 = float(%f)
82 sin 60 = float(%f)
84 sin 90 = float(%f)
86 sin 180 = float(%f)
88 sin 270 = float(%f)
90 sin 360 = float(%f)