[Numpy-discussion] masked ufuncs in C: on github
Sat May 16 03:04:46 CDT 2009
On Sat, May 16, 2009 at 03:02, Eric Firing <firstname.lastname@example.org> 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.
"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth."
-- Umberto Eco
More information about the Numpy-discussion