[Numpy-discussion] windows and C99 math

David Cournapeau cournape at gmail.com
Mon Jan 27 18:12:55 EST 2014


On Mon, Jan 27, 2014 at 8:04 PM, Julian Taylor <
jtaylor.debian at 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 windows, on linux and mac it seems to use
> the C99 math library just fine.
>
> Are our binary builds for windows not correct or does windows just not
> support C99 math?
>

Ms compilers have not supported much of C > C89. Up to recently, they even
said publicly something close to "we don't care about C, C is legacy and
you should use C++":
http://herbsutter.com/2012/05/03/reader-qa-what-about-vc-and-c99/

But it looks like they are finally changing their stance:
http://blogs.msdn.com/b/vcblog/archive/2013/07/19/c99-library-support-in-visual-studio-2013.aspx

Of course, it will be a while before we can rely on this, but hey, it only
took them 14 years !

David

>
> Hopefully it is the former. Any insight is appreciated (and patches to
> fix the build even more!)
>
> Cheers,
> Julian
> _______________________________________________
> NumPy-Discussion mailing list
> NumPy-Discussion at scipy.org
> http://mail.scipy.org/mailman/listinfo/numpy-discussion
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20140127/d641434b/attachment.html>


More information about the NumPy-Discussion mailing list