Skip to content
Snippets Groups Projects
Commit 50e2f2e7 authored by Neil Gershenfeld's avatar Neil Gershenfeld
Browse files

Update pi.c

parent f61dfe02
Branches
No related tags found
No related merge requests found
Pipeline #4600 passed
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment