Révision 158

Pi/OpenCL/PiOpenCL.c (revision 158)
200 200
  "   ulong total=0;",
201 201
  "   for (ulong i=0;i<iterations;i++)",
202 202
  "{",
203
  "        float x=(double)MWCfp ;",
204
  "        float y=(double)MWCfp ;",
203
  "        double x=(double)MWCfp ;",
204
  "        double y=(double)MWCfp ;",
205 205
  "      ulong inside=((x*x+y*y) <= THEONE64F) ? 1:0;",
206 206
  "      total+=inside;",
207 207
  "}",

Formats disponibles : Unified diff