[vtk-developers] ready to branch for 8.0.0?

Isaiah Norton isaiah.norton at gmail.com
Tue Apr 11 20:42:09 EDT 2017


On Mon, Mar 27, 2017 at 5:11 PM, Sean McBride <sean at rogue-research.com>
wrote:

> On Thu, 23 Mar 2017 14:07:03 +0000, Hahn, Steven E. said:
>
> >With std::isinf<int> clang generates code that is 3-4 times slower than
> >one would naively expect for a type that doesn’t contain infinity.
>
> Is there a bug for that?  A quick search didn't reveal anything:
>

This is the same underlying issue as:
https://bugs.llvm.org//show_bug.cgi?id=18218

libc++ interpreted the standard in a way that doesn't make sense, such that
any isinf and isnan arguments are cast to double (this makes no sense
because the Inf bit pattern is a perfectly valid integer much smaller than
the typemax).

Whereas libstdc++ only defines std::isinf for float/double/long double, and
all other types are a constexpr false.


> <https://bugs.llvm.org//buglist.cgi?quicksearch=isinf>
>
> Cheers,
>
> --
> ____________________________________________________________
> Sean McBride, B. Eng                 sean at rogue-research.com
> Rogue Research                        www.rogue-research.com
> Mac Software Developer              Montréal, Québec, Canada
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/
> opensource/opensource.html
>
> Search the list archives at: http://markmail.org/search/?q=vtk-developers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtk-developers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20170411/1d79fa53/attachment.html>


More information about the vtk-developers mailing list