Home
last modified time | relevance | path

Searched refs:DECNEG (Results 1 – 6 of 6) sorted by relevance

/openbmc/qemu/libdecnumber/
H A DdecNumber.c347 if (in<0) dn->bits=DECNEG; /* sign needed */ in decNumberFromInt32()
396 if (dn->bits&DECNEG && hi==214748364 && lo==8) return 0x80000000; in decNumberToInt32()
401 if (dn->bits&DECNEG) return -i; in decNumberToInt32()
415 || (dn->bits&DECNEG && !ISZERO(dn))); /* bad */ in decNumberToUInt32()
447 dn->bits = DECNEG; /* sign needed */ in decNumberFromInt64()
481 dn->bits = DECNEG; /* sign needed */ in decNumberFromInt128()
692 bits=DECNEG; in decNumberFromString()
913 decAddOp(res, &dzero, rhs, set, (uByte)(rhs->bits & DECNEG), &status); in decNumberAbs()
1117 a->bits&=~DECNEG; /* .. and clear the sign */ in decNumberCompareTotalMag()
1131 b->bits&=~DECNEG; /* .. and clear the sign */ in decNumberCompareTotalMag()
[all …]
/openbmc/qemu/libdecnumber/dpd/
H A Ddecimal32.c106 dw.bits|=dn->bits&DECNEG; in decimal32FromNumber()
172 if (dn->bits&DECNEG) targ|=0x80000000; /* add sign bit */ in decimal32FromNumber()
203 if (sour&0x80000000) dn->bits=DECNEG; /* set sign if negative */ in decimal32ToNumber()
H A Ddecimal128.c110 dw.bits|=dn->bits&DECNEG; in decimal128FromNumber()
169 if (dn->bits&DECNEG) targhi|=0x80000000; /* add sign bit */ in decimal128FromNumber()
227 if (sourhi&0x80000000) dn->bits=DECNEG; /* set sign if negative */ in decimal128ToNumber()
H A Ddecimal64.c114 dw.bits|=dn->bits&DECNEG; in decimal64FromNumber()
190 if (dn->bits&DECNEG) targhi|=0x80000000; /* add sign bit */ in decimal64FromNumber()
238 if (sourhi&0x80000000) dn->bits=DECNEG; /* set sign if negative */ in decimal64ToNumber()
/openbmc/qemu/include/libdecnumber/
H A DdecNumber.h45 #define DECNEG 0x80 /* Sign; 1=negative, 0=positive or zero */ macro
196 #define decNumberIsNegative(dn) (((dn)->bits&DECNEG)!=0)
/openbmc/qemu/target/ppc/
H A Ddfp_helper.c800 dfp->t.bits &= ~DECNEG; in _dfp_reround()
1220 dfp.t.bits |= DECNEG; \