Lines Matching defs:bMin
463 void ComputeMulRange::operator() (de::Random& rnd, float dstMin, float dstMax, float& aMin, float& aMax, float& bMin, float& bMax) const
488 bMin = scale;
494 bMin = scale-(float)i*scaleStep;
505 std::swap(bMin, bMax);
508 bMin *= -1.0f;
514 DE_ASSERT(aMin <= aMax && bMin <= bMax);
515 DE_ASSERT(de::inRange(aMin*bMin, dstMin-eps, dstMax+eps));
517 DE_ASSERT(de::inRange(aMax*bMin, dstMin-eps, dstMax+eps));
522 void ComputeMulRange::operator() (de::Random& rnd, int dstMin, int dstMax, int& aMin, int& aMax, int& bMin, int& bMax) const
527 bMin = 1;
547 void ComputeAddRange::operator() (de::Random& random, T dstMin, T dstMax, T& aMin, T& aMax, T& bMin, T& bMax) const
562 bMin = -aOffset;
567 DE_ASSERT(aMin <= aMax && bMin <= bMax);
568 DE_ASSERT(de::inRange(aMin+bMin, dstMin-eps, dstMax+eps));
570 DE_ASSERT(de::inRange(aMax+bMin, dstMin-eps, dstMax+eps));
597 void ComputeSubRange::operator() (de::Random& random, T dstMin, T dstMax, T& aMin, T& aMax, T& bMin, T& bMax) const
612 bMin = aOffset-(rangeLen-subRangeLen);
617 DE_ASSERT(aMin <= aMax && bMin <= bMax);
618 DE_ASSERT(de::inRange(aMin-bMin, dstMin-eps, dstMax+eps));
620 DE_ASSERT(de::inRange(aMax-bMin, dstMin-eps, dstMax+eps));
737 void ComputeLessThanRange::operator () (de::Random& rnd, bool dstMin, bool dstMax, T& aMin, T& aMax, T& bMin, T& bMax) const
755 bMin = rMin;
766 bMin = rMin;
777 bMin = rMin;
793 void ComputeLessOrEqualRange::operator () (de::Random& rnd, bool dstMin, bool dstMax, T& aMin, T& aMax, T& bMin, T& bMax) const
811 bMin = rMin;
822 bMin = rMin;
833 bMin = rMin;
872 void computeEqualityValueRange (de::Random& rnd, bool dstMin, bool dstMax, T& aMin, T& aMax, T& bMin, T& bMax)
875 ComputeLessThanRange()(rnd, false, true, aMin, aMax, bMin, bMax);
877 ComputeLessThanRange()(rnd, true, true, aMin, aMax, bMin, bMax);
879 ComputeLessThanRange()(rnd, true, true, aMin, aMax, bMin, bMax);
893 bMin = val;
899 void computeEqualityValueRange<true, bool> (de::Random& rnd, bool dstMin, bool dstMax, bool& aMin, bool& aMax, bool& bMin, bool& bMax)
905 bMin = false;
915 bMin = !val;
925 bMin = val;
931 void computeEqualityValueRange<false, bool> (de::Random& rnd, bool dstMin, bool dstMax, bool& aMin, bool& aMax, bool& bMin, bool& bMax)
934 computeEqualityValueRange<true>(rnd, dstMin, dstMax, aMin, aMax, bMin, bMax);
936 computeEqualityValueRange<true>(rnd, !dstMin, !dstMax, aMin, aMax, bMin, bMax);