|
@@ -12,6 +12,13 @@ begin
|
|
if not(SameValue(s1,0)) or not(SameValue(s2,1)) or not(SameValue(d1,0)) or
|
|
if not(SameValue(s1,0)) or not(SameValue(s2,1)) or not(SameValue(d1,0)) or
|
|
not(SameValue(d2,1)) or not(SameValue(e1,0)) or not(SameValue(e2,1)) then
|
|
not(SameValue(d2,1)) or not(SameValue(e1,0)) or not(SameValue(e2,1)) then
|
|
halt(1);
|
|
halt(1);
|
|
|
|
+
|
|
|
|
+ sincos(pi,s1,s2);
|
|
|
|
+ sincos(pi,d1,d2);
|
|
|
|
+ sincos(pi,e1,e2);
|
|
|
|
+ if not(SameValue(s1,0)) or not(SameValue(s2,-1)) or not(SameValue(d1,0)) or
|
|
|
|
+ not(SameValue(d2,-1)) or not(SameValue(e1,0)) or not(SameValue(e2,-1)) then
|
|
|
|
+ halt(1);
|
|
writeln('ok');
|
|
writeln('ok');
|
|
end.
|
|
end.
|
|
|
|
|