Hello On Sat, 28 Jul 2007, Albert Strasheim wrote:
> float __cdecl logf(float); > float __cdecl sqrtf(float); > > but they're missing the __cdecl in the NumPy code. Somewhere a macro > needs to be defined to __cdecl on Windows (and left empty on other > platforms) and including in the NumPy declarations. included > numpy\core\src\umathmodule.c.src(632) : warning C4244: 'initializing' : > conversion from 'int' to 'float', possible loss of data > numpy\core\src\umathmodule.c.src(641) : warning C4244: 'initializing' : > conversion from 'int' to 'float', possible loss of data > > More casts probably. Looks like initializing these values with a float value (e.g., 0.0f and not 0) will fix these. If it's hard to modify the code generate to do this, a cast should be fine. Cheers, Albert _______________________________________________ Numpy-discussion mailing list [email protected] http://projects.scipy.org/mailman/listinfo/numpy-discussion
