Lines Matching refs:sin
2 Test return type and value for expected input sin()
8 * proto float sin(float number)
26 echo "sin 30 = ";
27 var_dump(sin($thirty));
28 if (allowed_rounding_error(sin($thirty),0.5)) {
35 echo "sin 60 = ";
36 var_dump(sin($sixty));
37 if (allowed_rounding_error(sin($sixty),0.86602540378444)) {
44 echo "sin 90 = ";
45 var_dump(sin($ninety));
46 if (allowed_rounding_error(sin($ninety),1.0)) {
53 echo "sin 180 = ";
54 var_dump(sin($oneeighty));
55 if (allowed_rounding_error(sin($oneeighty),0.0)) {
62 echo "sin 270 = ";
63 var_dump(sin($twoseventy));
64 if (allowed_rounding_error(sin($twoseventy),-1.0)) {
71 echo "sin 360 = ";
72 var_dump(sin($threesixty));
73 if (allowed_rounding_error(sin($threesixty),0.0)) {
81 sin 30 = float(%f)
83 sin 60 = float(%f)
85 sin 90 = float(%f)
87 sin 180 = float(%f)
89 sin 270 = float(%f)
91 sin 360 = float(%f)