function [c3] = VC_secti(c1, c2)
% function [c3] = VC_secti(c1, c2)
% c1, c2 ... velka cisla jako pole uint64
% c3=c1+c2


l1=length(c1);
l2=length(c2);

if l1<l2
    c1=[c1, zeros(1,l2-l1,'uint64')];
else
    c2=[c2, zeros(1,l1-l2,'uint64')];
end

l=max([l1,l2]);

c3 = zeros(1, l + 1, 'uint64');

prenos=0;
for ii = 1 : l
    c3(ii)=c1(ii)+c2(ii)+prenos;
    if c3(ii)>=1e9
        prenos=1;
        c3(ii)=c3(ii)-1e9;
    else
        prenos=0;
    end
end
if prenos==1
    c3(l+1)=1;
else
    c3(l+1)=[];
end

    
end % funkce
