Happy PI Day

Keep it clean but fun.
Post Reply
jpoisson
Posts: 245
Joined: Sun Aug 02, 2009 5:12 pm

Happy PI Day

Post by jpoisson »

I just thought I would wish everyone a happy 3.14 Day...
Falken
Posts: 438
Joined: Fri May 08, 2009 8:03 pm

Re: Happy PI Day

Post by Falken »

[youtube]http://www.youtube.com/watch?v=qZlyHtSZsYQ[/youtube]

Code: Select all

echo "Happy " . pi() . " day!";
std::cout << "Happy " << 103993 / 33102 << " day!" << endl;
Console.WriteLine("Happy " + MathHelper.Pi + " day!");
Put_Line("Happy " & Float'Image(103993 / 33102) & " day!");
(format t "Happy ~a day!" pi)
See if you can guess the languages :D
--- Game Database ---
For all your game information needs!
Visit us at: http://www.gamedatabase.eu today!
User avatar
hallsofvallhalla
Site Admin
Posts: 12026
Joined: Wed Apr 22, 2009 11:29 pm

Re: Happy PI Day

Post by hallsofvallhalla »

Code: Select all

echo "Happy " . pi() . " day!";
std::cout << "Happy " << 103993 / 33102 << " day!" << endl;
Console.WriteLine("Happy " + MathHelper.Pi + " day!");
Put_Line("Happy " & Float'Image(103993 / 33102) & " day!");
(format t "Happy ~a day!" pi)
k without cheating and browsing for it

PHP
C++
Java
VB
ruby

though i think at least 2 of those are wrong
Falken
Posts: 438
Joined: Fri May 08, 2009 8:03 pm

Re: Happy PI Day

Post by Falken »

hallsofvallhalla wrote:

Code: Select all

echo "Happy " . pi() . " day!";
std::cout << "Happy " << 103993 / 33102 << " day!" << endl;
Console.WriteLine("Happy " + MathHelper.Pi + " day!");
Put_Line("Happy " & Float'Image(103993 / 33102) & " day!");
(format t "Happy ~a day!" pi)
k without cheating and browsing for it

PHP
C++
Java
VB
ruby

though i think at least 2 of those are wrong
You got 3 wrong.
First is PHP
Second C++
Third is C# with XNA. It could also be VB, same syntax. MathHelper.Pi is XNA, while Math.Pi is ordinary .Net PI.
Fourth is Ada
Fifth is LISP
--- Game Database ---
For all your game information needs!
Visit us at: http://www.gamedatabase.eu today!
jpoisson
Posts: 245
Joined: Sun Aug 02, 2009 5:12 pm

Re: Happy PI Day

Post by jpoisson »

I am so happy I found this place :)
User avatar
hallsofvallhalla
Site Admin
Posts: 12026
Joined: Wed Apr 22, 2009 11:29 pm

Re: Happy PI Day

Post by hallsofvallhalla »

oh you are a tricksy little Hobbit
Falken
Posts: 438
Joined: Fri May 08, 2009 8:03 pm

Re: Happy PI Day

Post by Falken »

hallsofvallhalla wrote:oh you are a tricksy little Hobbit
Haha, no fun if it is too easy ;)

Just done with our Ada project. Had to build a client and a multithreaded server. Was quite nice to learn some multithreading, altho a pain to sync threads. Networking was so much easier :P
--- Game Database ---
For all your game information needs!
Visit us at: http://www.gamedatabase.eu today!
Post Reply

Return to “Off-Topic”