src/HOL/SPARK/Examples/Gcd/Gcd.ads
author wenzelm
Fri, 05 Apr 2024 20:41:54 +0200
changeset 80087 bda75c790bfa
parent 41561 d1318f3c86ba
permissions -rw-r--r--
proper Scala code for String.literal_of_asciis: avoid ambiguity of ("" ++ ...);

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;