Fix floating point precision problem
llvm-svn: 9419
diff --git a/MultiSource/Benchmarks/McCat/08-main/main.c b/MultiSource/Benchmarks/McCat/08-main/main.c
index 0a000eb..b06f157 100644
--- a/MultiSource/Benchmarks/McCat/08-main/main.c
+++ b/MultiSource/Benchmarks/McCat/08-main/main.c
@@ -80,8 +80,8 @@
/*printf("MakeSphere");*/
dfi = 2*PI/sli; /* The step in the slices */
dtheta = 2*PI/pol; /* The step in the amount of polys in a slice */
- for(fi=-PI;fi<PI;fi=fi+dfi){ /* The slices */
- for(theta=-PI;theta<PI;theta=theta+dtheta){ /* The polys in the slices */
+ for(fi=-PI;fi<PI+0.000001;fi=fi+dfi){ /* The slices */
+ for(theta=-PI;theta<PI+0.000001;theta=theta+dtheta){ /* The polys in the slices */
/*printf(".");
fflush(stdout);*/
p[0].x = cos(theta)*cos(fi)*r;