Greatest common divisor: Difference between revisions

Content added Content deleted
m (→‎Iterative binary algorithm: Fix parenthesis usage regarding operator precedence)
Line 1,268: Line 1,268:




For the sake of interest, here is some use of ATS’s ‘props’-based proof system. There is no executable code in the following.
For the sake of interest, here is some use of ATS's "props"-based proof system. There is no executable code in the following.


<lang ats>(* Typecheck this file with ‘patscc -tcats gcd-proofs.dats’. *)
<lang ats>(* Typecheck this file with ‘patscc -tcats gcd-proofs.dats’. *)