Lines Matching refs:sign
87 static long double decfloat(FILE *f, int c, int bits, int emin, int sign, int pok)
161 if (!x[0]) return sign * 0.0;
165 return sign * (long double)x[0];
168 return sign * LDBL_MAX * LDBL_MAX;
172 return sign * LDBL_MIN * LDBL_MIN;
189 if (rp == 9) return sign * (long double)x[0];
190 if (rp < 9) return sign * (long double)x[0] / p10s[8-rp];
193 return sign * (long double)x[0] * p10s[rp-10];
281 y *= sign;
302 frac += 0.25*sign;
304 frac += 0.75*sign;
307 frac += 0.5*sign;
309 frac += 0.75*sign;
332 static long double hexfloat(FILE *f, int bits, int emin, int sign, int pok)
385 return sign * 0.0;
405 if (!x) return sign * 0.0;
408 return sign * LDBL_MAX * LDBL_MAX;
412 return sign * LDBL_MIN * LDBL_MIN;
432 bias = copysignl(scalbn(1, 32+LDBL_MANT_DIG-bits-1), sign);
436 y = bias + sign*(long double)x + sign*y;
446 int sign = 1;
472 sign -= 2*(c=='-');
483 return sign * INFINITY;
519 return hexfloat(f, bits, emin, sign, pok);
524 return decfloat(f, c, bits, emin, sign, pok);