Lines Matching defs:max
2465 The *max* variable should be equal to the largest fabs(x).
2467 If n==0, then *max* should be 0.0.
2468 If an infinity is present in the vec, *max* should be INF.
2486 always larger than x**2 after scaling or after division by *max*.
2494 scaling or division by *max* should not be skipped even if not
2557 vector_norm(Py_ssize_t n, double *vec, double max, int found_nan)
2565 if (Py_IS_INFINITY(max)) {
2566 return max;
2571 if (max == 0.0 || n <= 1) {
2572 return max;
2574 frexp(max, &max_e);
2577 assert(max * scale >= 0.5);
2578 assert(max * scale < 1.0);
2581 assert(Py_IS_FINITE(x) && fabs(x) <= max);
2637 So instead of multiplying by a scale, we just divide by *max*.
2641 assert(Py_IS_FINITE(x) && fabs(x) <= max);
2642 x /= max;
2650 return max * sqrt(csum - 1.0 + frac1);
2676 double max = 0.0;
2723 if (x > max) {
2724 max = x;
2727 result = vector_norm(n, diffs, max, found_nan);
2758 double max = 0.0;
2776 if (x > max) {
2777 max = x;
2780 result = vector_norm(nargs, coordinates, max, found_nan);