[PATCH] D15120: Add support for __float128 type to be used by targets that support it

Hubert Tong via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 15 08:39:38 PST 2015


hubert.reinterpretcast added a comment.

I would also like to see a test case based on the following from ISO/IEC TS 18661-3:2015:

> If both operands have floating types and neither of the sets of values of their corresponding real types is a subset of (or equivalent to) the other, the behavior is undefined.




  auto f(__float128 q, long double ld) {
    return q + ld; // error: no common type
  }


Repository:
  rL LLVM

http://reviews.llvm.org/D15120





More information about the cfe-commits mailing list