Home
last modified time | relevance | path

Searched refs:DECINF (Results 1 – 5 of 5) sorted by relevance

/freebsd-12.1/contrib/gcclibs/libdecnumber/
H A DdecNumber.h45 #define DECINF 0x40 /* 1=Infinity */ macro
49 #define DECSPECIAL (DECINF|DECNAN|DECSNAN) /* any special value */
192 #define decNumberIsInfinite(dn) (((dn)->bits&DECINF)!=0)
H A Ddecimal64.c110 if (dn->bits & DECINF) in decimal64FromNumber()
205 dn->bits |= DECINF; in decimal64ToNumber()
231 if (!(dn->bits & DECINF)) in decimal64ToNumber()
H A Ddecimal128.c110 if (dn->bits & DECINF) in decimal128FromNumber()
209 dn->bits |= DECINF; in decimal128ToNumber()
235 if (!(dn->bits & DECINF)) in decimal128ToNumber()
H A Ddecimal32.c110 if (dn->bits & DECINF) in decimal32FromNumber()
206 dn->bits |= DECINF; in decimal32ToNumber()
232 if (!(dn->bits & DECINF)) in decimal32ToNumber()
H A DdecNumber.c425 dn->bits = bits | DECINF; in decNumberFromString()
1075 bits |= DECINF; /* was not a **-n */ in decNumberPower()
2304 bits |= DECINF; in decAddOp()
2802 res->bits = bits | DECINF; /* set +/- infinity */ in decDivideOp()
2846 res->bits = bits | DECINF; /* .. is +/- Infinity */ in decDivideOp()
3497 res->bits = bits | DECINF; /* infinity */ in decMultiplyOp()
3661 else if ((lhs->bits ^ rhs->bits) & DECINF) in decQuantizeOp()
3983 if ((lhs->bits | rhs->bits) & DECINF) in decCompare()
5244 dn->bits = sign | DECINF; /* Value is +/-Infinity */ in decSetOverflow()