Skip to main content
deleted 3 characters in body
Source Link
Timtech
  • 12.7k
  • 2
  • 47
  • 63

Game Maker Language, 3734

Assumes all uninitialized variables as 0. This is default in some versions of Game Maker.

for(i=1;i<999999;i++i=1;i<1e8;i++)x+=6/i/i;sqrt(x) 

Result:

3.14159169865946 

Game Maker Language, 37

Assumes all uninitialized variables as 0. This is default in some versions of Game Maker.

for(i=1;i<999999;i++)x+=6/i/i;sqrt(x) 

Result:

3.14159169865946 

Game Maker Language, 34

Assumes all uninitialized variables as 0. This is default in some versions of Game Maker.

for(i=1;i<1e8;i++)x+=6/i/i;sqrt(x) 

Result:

3.14159169865946 
Source Link
Timtech
  • 12.7k
  • 2
  • 47
  • 63

Game Maker Language, 37

Assumes all uninitialized variables as 0. This is default in some versions of Game Maker.

for(i=1;i<999999;i++)x+=6/i/i;sqrt(x) 

Result:

3.14159169865946