src/HOL/SPARK/Manual/document/Simple_Gcd.ads
author wenzelm
Tue, 27 Jun 2017 11:47:14 +0200
changeset 66200 02c66b71c013
parent 45044 2fae15f8984d
permissions -rw-r--r--
GUI layout similar to Pure/GUI/wrap_panel.scala;

package Simple_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 N > 0;
     --# post G = Gcd (M, N);

end Simple_Greatest_Common_Divisor;