Lines Matching defs:zero
17 result is a zero (with the appropriate sign).
20 approaches x exists and is an infinity), "divide by zero" is signaled
25 sign of the zero determines the result of 1/0.
36 For #2, return a zero (with the appropriate sign if that happens by
41 raised for division by zero and mod by zero.
48 standard recommends raising the 'divide-by-zero' or 'invalid'
316 /* tgamma(+-0.0) = +-inf, divide-by-zero */
418 errno = EDOM; /* lgamma(n) = inf, divide-by-zero for */
548 /* Issue #8986: On some platforms, exp sets errno on underflow to zero;
810 return -Py_HUGE_VAL; /* log2(0) = -inf, divide-by-zero */
934 PyObject *zero = _PyLong_GetZero(); // borrowed ref
941 if (res == zero) {
972 assert(errno); /* non-zero errno is a precondition for calling */
983 * should return a zero on underflow, and +- HUGE_VAL on
984 * overflow, so testing the result for zero suffices to
989 * to zero. So to be safe, we'll ignore ERANGE whenever the
1030 of the C99 standard, with the 'invalid' and 'divide-by-zero'
1071 set errno properly (that is, errno = EDOM for invalid or divide-by-zero,
1110 'divide-by-zero' floating-point exceptions mapping to Python's
1317 "The result is computed in a way which is accurate for x near zero.")
1363 exactly zero and therefore can be losslessly stored back into a double,
1379 static int /* non-zero on error */
1430 non-zero, non-special, non-overlapping and strictly increasing in
1540 digit to two instead of down to zero (the 1e-16 makes the 1
1589 zero and we have an approximation to the square root of `n` itself.
2322 /* Negative or zero inputs give a ValueError. */
2488 net zero effect on the final sum. Since *csum* will be greater than
2876 (A) (+/-0.)**negative (-> divide-by-zero)
3563 to zero when k > n.
3656 to zero when k > n.