Lines Matching defs:pz
32 true_add(px, py, pz)
33 unpacked *px, *py, *pz;
49 *pz = *px;
53 *pz = *px;
65 pz->fpclass = px->fpclass;
66 pz->sign = px->sign;
67 pz->exponent = px->exponent;
68 pz->rounded = pz->sticky = 0;
71 fpu_rightshift(py, pz->exponent - py->exponent);
72 pz->rounded = py->rounded;
73 pz->sticky = py->sticky;
76 c = fpu_add3wc(&(pz->significand[3]), px->significand[3],
78 c = fpu_add3wc(&(pz->significand[2]), px->significand[2],
80 c = fpu_add3wc(&(pz->significand[1]), px->significand[1],
82 c = fpu_add3wc(&(pz->significand[0]), px->significand[0],
86 if (pz->significand[0] >= 0x20000) {
87 fpu_rightshift(pz, 1); /* Carried out bit. */
88 pz->exponent++; /* Renormalize. */
93 true_sub(pfpsd, px, py, pz)
95 unpacked *px, *py, *pz;
106 *pz = *px; /* Tentative difference: x. */
107 switch (pz->fpclass) {
113 fpu_error_nan(pfpsd, pz); /* Inf - Inf -> NaN */
114 pz->fpclass = fp_quiet;
118 pz->sign = (pfpsd->fp_direction == fp_negative);
133 pz->fpclass = px->fpclass;
134 pz->sign = px->sign;
135 pz->exponent = px->exponent;
136 pz->rounded = 0;
137 pz->sticky = 0;
138 z = pz->significand;
151 pz->sign = (pfpsd->fp_direction == fp_negative);
152 pz->fpclass = fp_zero;
156 pz->sign = py->sign;
163 fpu_normalize(pz);
166 fpu_rightshift(py, pz->exponent - py->exponent - 1);
184 pz->sticky = s|r;
185 pz->rounded = g;
187 pz->sticky = s;
188 pz->rounded = r;
189 pz->significand[0] = (z[0]<<1)|((z[1]&0x80000000)>>31);
190 pz->significand[1] = (z[1]<<1)|((z[2]&0x80000000)>>31);
191 pz->significand[2] = (z[2]<<1)|((z[3]&0x80000000)>>31);
192 pz->significand[3] = (z[3]<<1)|g;
193 pz->exponent -= 1;
194 if (z[0] < 0x10000) fpu_normalize(pz);
201 _fp_add(pfpsd, px, py, pz)
203 unpacked *px, *py, *pz;
206 true_add(px, py, pz);
208 true_sub(pfpsd, px, py, pz);
212 _fp_sub(pfpsd, px, py, pz)
214 unpacked *px, *py, *pz;
218 true_add(px, py, pz);
220 true_sub(pfpsd, px, py, pz);