src/HOL/SPARK/Examples/Gcd/greatest_common_divisor/g_c_d.fdl
changeset 41561 d1318f3c86ba
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/src/HOL/SPARK/Examples/Gcd/greatest_common_divisor/g_c_d.fdl	Sat Jan 15 12:35:29 2011 +0100
     1.3 @@ -0,0 +1,32 @@
     1.4 +           {*******************************************************}
     1.5 +                               {FDL Declarations}
     1.6 +    {Examiner Pro Edition, Version 9.1.0, Build Date 20101119, Build 19039}
     1.7 +             {Copyright (C) 2010 Altran Praxis Limited, Bath, U.K.}
     1.8 +           {*******************************************************}
     1.9 +
    1.10 +
    1.11 +                        {DATE : 29-NOV-2010 14:30:10.98}
    1.12 +
    1.13 +                  {procedure Greatest_Common_Divisor.G_C_D}
    1.14 +
    1.15 +
    1.16 +title procedure g_c_d;
    1.17 +
    1.18 +  function round__(real) : integer;
    1.19 +  const natural__base__first : integer = pending; 
    1.20 +  const natural__base__last : integer = pending; 
    1.21 +  const integer__base__first : integer = pending; 
    1.22 +  const integer__base__last : integer = pending; 
    1.23 +  const natural__first : integer = pending; 
    1.24 +  const natural__last : integer = pending; 
    1.25 +  const natural__size : integer = pending; 
    1.26 +  const integer__first : integer = pending; 
    1.27 +  const integer__last : integer = pending; 
    1.28 +  const integer__size : integer = pending; 
    1.29 +  var m : integer;
    1.30 +  var n : integer;
    1.31 +  var c : integer;
    1.32 +  var d : integer;
    1.33 +  function gcd(integer, integer) : integer;
    1.34 +
    1.35 +end;