Merge pull request #1 from superoptimizer/master
The value of pi used in Makefile was wrong in the 7th and 11th significant digits.
This commit is contained in:
2
Makefile
2
Makefile
@@ -111,7 +111,7 @@ objs/stdlib-c.o: objs/stdlib-c.cpp
|
||||
|
||||
objs/stdlib_ispc.cpp: stdlib.ispc
|
||||
@echo Creating C++ source from $<
|
||||
@$(CPP) -DISPC=1 -DPI=3.1415936535 $< | ./stdlib2cpp.py > $@
|
||||
@$(CPP) -DISPC=1 -DPI=3.1415926536 $< | ./stdlib2cpp.py > $@
|
||||
|
||||
objs/stdlib_ispc.o: objs/stdlib_ispc.cpp
|
||||
@echo Compiling $<
|
||||
|
||||
Reference in New Issue
Block a user