6. test_ext.c
PHP_FUNCTION(ext_pi){ d = 0;
3B
int a = 10000; for( b = c - 1 ; b > 0 ; b-- ) {
int c = 52500; g = 2 * b - 1;
int b,d,e,g; d = d * b + f[b] * a;
int f[52514]; f[b] = d % g;
d /= g;
for( b = 0 ; b < c ; b++ ) { }
f[b] = a / 5; printf("%04d", e + d / a);
} e = d % a;
e = 0; }
for( c = 52500 ; c > 0 ; c -= 14 ) { return ;
}
PHP MATSURI 2011