Lines Matching refs:ntv
122 6..15 numeric type and value (ntv)
124 Encoding of numeric type and value in the 10-bit ntv field:
125 ntv type value
133 ntv value
135 0xb0..0x1df fraction ((ntv>>4)-12) / ((ntv&0xf)+1) = -1..17 / 1..16
136 0x1e0..0x2ff large int ((ntv>>5)-14) * 10^((ntv&0x1f)+2) = (1..9)*(10^2..10^33)
259 int32_t type, value, exp, ntv;
267 ntv=-1; /* the numeric type and value cannot be encoded if ntv remains -1 */
271 ntv=UPROPS_NTV_NONE;
276 ntv=UPROPS_NTV_DECIMAL_START+value;
281 ntv=UPROPS_NTV_DIGIT_START+value;
288 ntv=UPROPS_NTV_NUMERIC_START+value*100;
292 ntv=UPROPS_NTV_NUMERIC_START+value;
302 ntv=((mant+14)<<5)+(exp-2);
307 ntv=((value+14)<<5)+(exp-2);
312 ntv=((value+12)<<4)+(den-1);
318 if(ntv<0) {
327 (ntv<<UPROPS_NUMERIC_TYPE_VALUE_SHIFT);