else
result := 0.0;
end;
function zero(arg1:double):double;
begin
if arg1 = 0.0 then
result := 0.0
else
result:= 1.0;
end;
function ceil(arg1:double):double;
begin
if frac(arg1) > 0 then
result:= int(arg1 + 1)
else
result:= int(arg1);
end;
function floor(arg1:double):double;
begin
if frac(arg1) < 0 then
result:= int(arg1 - 1)
else
result:= int(arg1);
end;
function radius(arg1,arg2:double):double;
begin
result:= sqrt(sqr(arg1)+sqr(arg2));
end;