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

Hal Finkel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 12 06:32:45 PST 2016


hfinkel added inline comments.


================
Comment at: llvm/lib/Support/APFloat.cpp:3948
+    Status |= zz.add(c, RM);
+    Status |= q.add(z, RM);
+    Status |= q.subtract(a, RM);
----------------
It looks here like q = (a - z), but it would be useful to put that in the comment explicitly. Also, is there a reason for computing (a - (q + z)) as -((q + z) - a)?


https://reviews.llvm.org/D26817





More information about the llvm-commits mailing list