Lines Matching defs:weight
335 // add the weight; first get the weight's magnitude
341 int weight = spec.coeff * ((spec.width == 5) ?
344 int val = sign ? -weight : weight;
372 // go toward 0 away from negative max weight
379 // go toward max weight away from 0
387 // go toward negative max weight down from 0
392 // go toward 0 away from max weight
424 int weight = spec.coeff * ((spec.width == 5) ?
426 if (sign) weight = -weight;
427 bool pred = weight >= 1;
478 int weight = ((spec.width == 5) ? xlat4[counter] : xlat[counter]);
481 newyout -= weight;
483 newyout += weight;
495 // udpate a random weight
507 int weight = ((spec.width == 5) ?
509 int signed_weight = sign ? -weight : weight;
512 // we have found a weight that if we blow
529 int weight = ((spec.width == 5) ?
531 int signed_weight = sign ? -weight : weight;