[PATCH] D18639: Use __builtin_isnan/isinf/isfinite in complex

Hal Finkel via cfe-commits cfe-commits at lists.llvm.org
Sun Aug 14 16:51:43 PDT 2016


hfinkel added a comment.

In https://reviews.llvm.org/D18639#491232, @mclow.lists wrote:

> And is there any reason why `__libcpp_isinf` can't just return `false` for non-fp types?


For custom numeric types that have an isinf, etc. found by ADL, they should continue to work.


https://reviews.llvm.org/D18639





More information about the cfe-commits mailing list