On 02/19/2018 06:43 AM, Martin Liška wrote: > Hi. > > This changes code to be consistent: > > if (!decNumberIsNegative(lhs) & decNumberIsNegative(rhs)) { > ... > else if (decNumberIsQNaN(lhs) && decNumberIsSNaN(rhs)) result=+1; > > That's fixed in the patch. > Patch can bootstrap on ppc64le-redhat-linux and survives regression tests. > > Ready to be installed? > Martin > > > libdecnumber/ChangeLog: > > 2018-02-19 Martin Liska <mli...@suse.cz> > > PR c/81272 > * decNumber.c (decCompareOp): Do not use bit and > for conjunction of predicates. OK
jeff