[Numpy-discussion] masked ufuncs in C: on github
Sat May 16 03:06:26 CDT 2009
2009/5/16 Robert Kern <firstname.lastname@example.org>:
> On Sat, May 16, 2009 at 03:02, Eric Firing <email@example.com> wrote:
>> Charles R Harris wrote:
>>> Here the if ... continue needs to follow the declaration:
>>> if (*mp1) continue;
>>> float in1 = *(float *)ip1;
>>> float in2 = *(float *)ip2;
>>> *(float *)op1 = f(in1, in2);
>> I was surprised to see the declarations inside the loop in the first
>> place (this certainly is not ANSI-C), and I was also pleasantly
>> surprised that letting them be after the conditional didn't seem to
>> bother the compiler at all. Maybe that is a gcc extension.
> I believe they are a part of C99.
Exactly (so not supported by Visual Studio).
Information System Engineer, Ph.D.
Blogs: http://matt.eifelle.com and http://blog.developpez.com/?blog=92
More information about the Numpy-discussion