Lines Matching refs:val
80 int64_t val;
86 val = BE_64(*i64p);
87 return (XDR_PUTBYTES(xdrs, (char *)&val, sizeof (val)));
140 int32_t val;
146 val = 0;
147 return (XDR_PUTINT32(xdrs, &val));
165 val = neg;
166 val = val << 8; /* for the exponent */
167 val += 127 + exp; /* 127 is the bias */
168 val = val << 23; /* for the mantissa */
169 val += (int32_t)((f - 1) * 8388608); /* 2 ^ 23 */
170 return (XDR_PUTINT32(xdrs, &val));
183 if (!XDR_GETINT32(xdrs, (int32_t *)&val))
185 neg = val & 0x80000000;
186 exp = (val & 0x7f800000) >> 23;
188 f = (val & 0x007fffff) * 0.00000011920928955078125;
228 int32_t val[2];
234 val[0] = 0;
235 val[1] = 0;
236 lp = val;
256 val[0] = (neg << 11); /* for the exponent */
257 val[0] += 1023 + exp; /* 1023 is the bias */
258 val[0] = val[0] << 20; /* for the mantissa */
259 val[0] += (int32_t)((d - 1) * 1048576); /* 2 ^ 20 */
260 val[1] += (uint32_t)((((d - 1) * 1048576) - val[0]) *
262 lp = val;
277 lp = val;
280 neg = val[0] & 0x80000000;
281 exp = (val[0] & 0x7ff00000) >> 20;
283 d = (val[0] & 0x000fffff) * 0.00000095367431640625;
285 d += (val[1] * 0.0000000000000002220446049250313);