Lines Matching defs:sign
22 "infinity", with an optional leading sign of "+" or "-". On success,
117 * is returned (according to the sign of the value), and %ERANGE is
197 /* We process the optional sign manually, then pass the remainder to
199 has the correct sign. (bug #1725) */
201 /* Process leading sign, if present */
496 /* Skip over the exponent and the sign. */
560 /* Skip leading sign, if present */
609 /* Skip leading sign, if present. I think this could only
850 1 for a possible sign
884 /* 3 for 'inf'/'nan', 1 for sign, 1 for '\0' */
933 /* Add sign when requested. It's convenient (esp. when formatting
934 complex numbers) to include a sign even for inf and nan. */
938 space to add a sign */
988 always_add_sign is nonzero if a '+' sign should be included for positive
1017 int decpt_as_int, sign, exp_len, exp = 0, use_exp = 0;
1024 digits = _Py_dg_dtoa(d, mode, precision, &decpt_as_int, &sign,
1037 if (no_negative_zero && sign == 1 &&
1039 sign = 0;
1045 ignore sign of nan. Then return. */
1047 /* ignore the actual sign of a nan */
1049 sign = 0;
1060 if (sign == 1) {
1097 [<sign>]<zeros><digits><zeros>[<exponent>]
1169 /* sign, decimal point and trailing 0 byte */
1187 /* Add a negative sign if negative, and a plus sign if non-negative
1189 if (sign == 1)