[PATCH] D26817: [APFloat] Implement PPCDoubleDouble add and subtract.

Hubert Tong via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 1 10:29:50 PST 2016


hubert.reinterpretcast added inline comments.


================
Comment at: llvm/lib/Support/APFloat.cpp:4076
+
+bool DoubleAPFloat::isNegative() const { return Floats[0].isNegative(); }
+
----------------
kbarton wrote:
> Is it possible for Floats[1] to ever be negative?
The magnitude of Floats[0] should be greater than that of Floats[1].
The negative zero case may be interesting.


https://reviews.llvm.org/D26817





More information about the llvm-commits mailing list