Apple3.14

From Esolang

Jump to: navigation, search

Apple3.14 is a language designed to print Pi for a given number of decimals by user:Maxsteele2.

Contents

[edit] Example Programs

[edit] Pi to 5 decimals

apple3.14
goto 5
end

This prints this:

3.14159

[edit] Pi to 42 decimals

apple3.14
goto 42
end

This prints this:

3.1415926535897932384626433832795028841971

[edit] How high will it go?

At best, 51,539,600,000 decimal places. That's the current record, according to this page.

[edit] So what's this good for besides calculating Pi?

Not much, really. Quines are impossible, and Apple3.14 is Turing incomplete.

Personal tools