[Numpy-discussion] windows and C99 math

2014-01-27 Thread Julian Taylor
hi, numpys no-C99 fallback keeps turning up issues in corner cases, e.g. hypot https://github.com/numpy/numpy/issues/2385 log1p https://github.com/numpy/numpy/issues/4225 these only seem to happen on windows, on linux and mac it seems to use the C99 math library just fine. Are our binary builds

Re: [Numpy-discussion] windows and C99 math

2014-01-27 Thread Frédéric Bastien
Just a guess as I don't make those binaries, but I think they are done with Visual Studio and it only support C89... We need to back port some of our c code for windows for GPU as nvcc use VS and it don't support C99. Fred On Mon, Jan 27, 2014 at 3:04 PM, Julian Taylor

Re: [Numpy-discussion] windows and C99 math

2014-01-27 Thread Sturla Molden
Julian Taylor jtaylor.deb...@googlemail.com wrote: Are our binary builds for windows not correct or does windows just not support C99 math? Microsoft's C compiler does not support C99. It is not an OS issue. Use gcc, clang or Intel icc instead, and C99 is supported. Sturla

Re: [Numpy-discussion] windows and C99 math

2014-01-27 Thread David Cournapeau
On Mon, Jan 27, 2014 at 8:04 PM, Julian Taylor jtaylor.deb...@googlemail.com wrote: hi, numpys no-C99 fallback keeps turning up issues in corner cases, e.g. hypot https://github.com/numpy/numpy/issues/2385 log1p https://github.com/numpy/numpy/issues/4225 these only seem to happen on