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:
ispc
2011-06-22 05:18:32 -07:00

View File

@@ -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 $<