Commit 50e2f2e7 authored by Neil Gershenfeld's avatar Neil Gershenfeld

Update pi.c

parent f61dfe02
Pipeline #4600 passed with stage
in 2 seconds
......@@ -19,7 +19,6 @@ void main() {
b = 0.75;
c = 0.25;
pi = 0;
pi = 0;
for (i = 1; i <= NPTS; ++i)
pi += a/((i-b)*(i-c));
clock_gettime(CLOCK_REALTIME,&tend);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment