Lines Matching refs:sqrt
30 using std::sqrt; in stable_norm()
81 VERIFY(!isFinite(sqrt(-abs(big)))); in stable_norm()
84 VERIFY(isFinite(sqrt(size)*abs(big))); in stable_norm()
85 …VERIFY_IS_NOT_APPROX(sqrt(copy(vbig.squaredNorm())), abs(sqrt(size)*big)); // here the default nor… in stable_norm()
86 VERIFY_IS_APPROX(vbig.stableNorm(), sqrt(size)*abs(big)); in stable_norm()
87 VERIFY_IS_APPROX(vbig.blueNorm(), sqrt(size)*abs(big)); in stable_norm()
88 VERIFY_IS_APPROX(vbig.hypotNorm(), sqrt(size)*abs(big)); in stable_norm()
91 VERIFY(isFinite(sqrt(size)*abs(small))); in stable_norm()
92 …VERIFY_IS_NOT_APPROX(sqrt(copy(vsmall.squaredNorm())), abs(sqrt(size)*small)); // here the defau… in stable_norm()
93 VERIFY_IS_APPROX(vsmall.stableNorm(), sqrt(size)*abs(small)); in stable_norm()
94 VERIFY_IS_APPROX(vsmall.blueNorm(), sqrt(size)*abs(small)); in stable_norm()
95 VERIFY_IS_APPROX(vsmall.hypotNorm(), sqrt(size)*abs(small)); in stable_norm()