Lines Matching refs:compare
853 /* decNumberCompare -- compare two Numbers */
873 /* decNumberCompareSignal -- compare, signalling on all NaNs */
893 /* decNumberCompareTotal -- compare two Numbers, using total ordering */
914 /* decNumberCompareTotalMag -- compare, total ordering of magnitudes */
1526 /* decNumberMax -- compare two Numbers and return the maximum */
1549 /* decNumberMaxMag -- compare and return the maximum by magnitude */
1572 /* decNumberMin -- compare two Numbers and return the minimum */
1595 /* decNumberMinMag -- compare and return the minimum by magnitude */
1753 else { /* valid compare */
1784 } /* compare OK */
2779 /* % of f; to ensure proper rounding, compare squares of (approx - */
3008 /* rounded square root of f; to ensure proper rounding, compare */
4179 /* compare numbers */
4510 if (var1units==var2ulen) { /* unit-by-unit compare needed */
4511 /* compare the two numbers, from msu */
4513 Unit v2; /* units to compare */
4699 Int compare, tarunits; /* work */
4711 compare=decUnitCompare(accnext, tarunits, rhs->lsu, D2U(rhs->digits),
4713 if (compare==BADINT) { /* deep trouble */
4728 if (compare>0 || (compare==0 && wasodd)) { /* adjustment needed */
5294 comp=decCompare(d, rhs, 1); /* signless compare */
5969 /* decCompareOp -- compare, min, or max two Numbers */
6152 /* decCompare -- compare two decNumbers by numerical value */
6158 /* Arg3 is 1 for a sign-independent compare, 0 otherwise */
6167 Int compare; /* work */
6195 /* must compare the coefficients, allowing for exponents */
6203 compare=decUnitCompare(lhs->lsu, D2U(lhs->digits),
6206 if (compare!=BADINT) compare*=result; /* comparison succeeded */
6207 return compare;
6211 /* decUnitCompare -- compare two >=0 integers in Unit arrays */
6239 /* same number of units in both -- need unit-by-unit compare */
7292 comp=decCompare(dn, &nmin, 1); /* (signless compare) */
7647 /* decBiStr -- compare string with pairwise options */
7649 /* targ is the string to compare */
7650 /* str1 is one of the strings to compare against (length may be 0) */
7653 /* returns 1 if strings compare equal, (that is, it is the same */
7657 /* This is used for generic caseless compare, including the awkward */