search for: d1a37577

Displaying 2 results from an estimated 2 matches for "d1a37577".

Did you mean: 137577
2012 May 21
0
[LLVMdev] APInt::sdivrem error?
...ivrem(-9, -1) = (-9, 0) > > > What's up with the last two? > > Am I doing something wrong (again)? > > Thanks, > Preston > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120521/d1a37577/attachment.html>
2012 May 21
3
[LLVMdev] APInt::sdivrem error?
I wrote the following bit of code static APInt FloorOfQuotient(APInt a, APInt b) { unsigned bits = a.getBitWidth(); APInt q(bits, 1), r(bits, 1); APInt::sdivrem(a, b, q, r); * errs() << "sdivrem(" << a << ", " << b << ") = (" << q << ", " << r << ")\n"; * if (r == 0) return q; else {