File:Abstract syntax tree for Euclidean algorithm.svg

Page contents not supported in other languages.
This is a file from the Wikimedia Commons
From Wikipedia, the free encyclopedia

Original file(SVG file, nominally 1,147 × 1,294 pixels, file size: 50 KB)

Summary

Description
English: An abstract syntax tree for the following pseudocode, implementing the Euclidean algorithm to find the greatest common divisor of a and b:
while b  0:
    if a > b:
        a := a - b
    else:
        b := b - a
return a
Date
Source Own work
Author Dcoetzee

Licensing

I, the copyright holder of this work, hereby publish it under the following license:
Creative Commons CC-Zero This file is made available under the Creative Commons CC0 1.0 Universal Public Domain Dedication.
The person who associated a work with this deed has dedicated the work to the public domain by waiving all of their rights to the work worldwide under copyright law, including all related and neighboring rights, to the extent allowed by law. You can copy, modify, distribute and perform the work, even for commercial purposes, all without asking permission.

Captions

Abstract syntax tree for the Euclidean algorithm to find the greatest common divisor of a and b.

22 March 2011

image/svg+xml

7735a0a45a538b7cf9be14fbfb9a0358158df78d

50,805 byte

1,294 pixel

1,147 pixel

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current08:18, 23 March 2011Thumbnail for version as of 08:18, 23 March 20111,147 × 1,294 (50 KB)DcoetzeeSome colour
08:11, 23 March 2011Thumbnail for version as of 08:11, 23 March 20111,147 × 1,294 (50 KB)DcoetzeeFix font, make attributes slightly larger
07:59, 23 March 2011Thumbnail for version as of 07:59, 23 March 20111,149 × 1,297 (43 KB)Dcoetzee{{Information |Description ={{en|1=An en:abstract syntax tree for the following pseudocode, implementing the en:Euclidean algorithm to find the en:greatest common divisor of a and b: '''while''' b ≠ 0 '''if''' a > b
The following pages on the English Wikipedia use this file (pages on other projects are not listed):

Global file usage

The following other wikis use this file: