src/HOL/SPARK/Manual/document/Gcd.ads
author wenzelm
Tue, 27 Nov 2012 19:22:36 +0100
changeset 50242 56b9c792a98b
parent 45044 2fae15f8984d
permissions -rw-r--r--
support for sub-structured identifier syntax (inactive);

package Greatest_Common_Divisor
is

   --# function Gcd(A, B: Natural) return Natural;

   procedure G_C_D(M, N: in Natural; G: out Natural);
     --# derives G from M, N;
     --# pre M >= 0 and N > 0;
     --# post G = Gcd(M,N);

end Greatest_Common_Divisor;