/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.pois/rand.dist.pois.extreme/ |
D | eval.pass.cpp | 65 double x_skew = 1.139547; in test1() local 69 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in test1() 106 double x_skew = 1.139547; in test2() local 110 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in test2() 147 double x_skew = 1.139547; in test3() local 151 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in test3() 188 double x_skew = 1.139547; in test4() local 192 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in test4()
|
D | eval_param.pass.cpp | 67 double x_skew = 1.139547; in test1() local 71 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in test1() 110 double x_skew = 1.139547; in test2() local 114 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in test2() 153 double x_skew = 1.139547; in test3() local 157 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in test3() 196 double x_skew = 1.139547; in test4() local 200 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in test4()
|
/external/llvm-project/libcxx/test/std/numerics/rand/rand.dis/rand.dist.pois/rand.dist.pois.extreme/ |
D | eval.pass.cpp | 66 double x_skew = 1.139547; in test1() local 70 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in test1() 107 double x_skew = 1.139547; in test2() local 111 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in test2() 148 double x_skew = 1.139547; in test3() local 152 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in test3() 189 double x_skew = 1.139547; in test4() local 193 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in test4()
|
D | eval_param.pass.cpp | 68 double x_skew = 1.139547; in test1() local 72 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in test1() 111 double x_skew = 1.139547; in test2() local 115 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in test2() 154 double x_skew = 1.139547; in test3() local 158 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in test3() 197 double x_skew = 1.139547; in test4() local 201 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in test4()
|
/external/llvm-project/libcxx/test/std/numerics/rand/rand.dis/rand.dist.bern/rand.dist.bern.geo/ |
D | eval.pass.cpp | 78 double x_skew = (2 - d.p()) / std::sqrt((1 - d.p())); in test1() local 82 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in test1() 121 double x_skew = (2 - d.p()) / std::sqrt((1 - d.p())); in test2() local 125 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in test2() 164 double x_skew = (2 - d.p()) / std::sqrt((1 - d.p())); in test3() local 168 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in test3() 207 double x_skew = (2 - d.p()) / std::sqrt((1 - d.p())); in test4() local 211 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in test4() 250 double x_skew = (2 - d.p()) / std::sqrt((1 - d.p())); in test5() local 254 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in test5() [all …]
|
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.bern/rand.dist.bern.geo/ |
D | eval.pass.cpp | 81 double x_skew = (2 - d.p()) / std::sqrt((1 - d.p())); in test1() local 85 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in test1() 124 double x_skew = (2 - d.p()) / std::sqrt((1 - d.p())); in test2() local 128 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in test2() 167 double x_skew = (2 - d.p()) / std::sqrt((1 - d.p())); in test3() local 171 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in test3() 210 double x_skew = (2 - d.p()) / std::sqrt((1 - d.p())); in test4() local 214 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in test4() 253 double x_skew = (2 - d.p()) / std::sqrt((1 - d.p())); in test5() local 257 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in test5() [all …]
|
/external/llvm-project/libcxx/test/std/numerics/rand/rand.dis/rand.dist.pois/rand.dist.pois.weibull/ |
D | eval.pass.cpp | 68 double x_skew = (sqr(d.b())*d.b() * std::tgamma(1 + 3/d.a()) - in main() local 72 4*x_skew*x_var*sqrt(x_var)*x_mean - in main() 76 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main() 111 double x_skew = (sqr(d.b())*d.b() * std::tgamma(1 + 3/d.a()) - in main() local 115 4*x_skew*x_var*sqrt(x_var)*x_mean - in main() 119 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main() 154 double x_skew = (sqr(d.b())*d.b() * std::tgamma(1 + 3/d.a()) - in main() local 158 4*x_skew*x_var*sqrt(x_var)*x_mean - in main() 162 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
|
D | eval_param.pass.cpp | 70 double x_skew = (sqr(p.b())*p.b() * std::tgamma(1 + 3/p.a()) - in main() local 74 4*x_skew*x_var*sqrt(x_var)*x_mean - in main() 78 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main() 115 double x_skew = (sqr(p.b())*p.b() * std::tgamma(1 + 3/p.a()) - in main() local 119 4*x_skew*x_var*sqrt(x_var)*x_mean - in main() 123 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main() 160 double x_skew = (sqr(p.b())*p.b() * std::tgamma(1 + 3/p.a()) - in main() local 164 4*x_skew*x_var*sqrt(x_var)*x_mean - in main() 168 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
|
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.pois/rand.dist.pois.weibull/ |
D | eval_param.pass.cpp | 69 double x_skew = (sqr(p.b())*p.b() * std::tgamma(1 + 3/p.a()) - in main() local 73 4*x_skew*x_var*sqrt(x_var)*x_mean - in main() 77 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main() 114 double x_skew = (sqr(p.b())*p.b() * std::tgamma(1 + 3/p.a()) - in main() local 118 4*x_skew*x_var*sqrt(x_var)*x_mean - in main() 122 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main() 159 double x_skew = (sqr(p.b())*p.b() * std::tgamma(1 + 3/p.a()) - in main() local 163 4*x_skew*x_var*sqrt(x_var)*x_mean - in main() 167 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
|
D | eval.pass.cpp | 67 double x_skew = (sqr(d.b())*d.b() * std::tgamma(1 + 3/d.a()) - in main() local 71 4*x_skew*x_var*sqrt(x_var)*x_mean - in main() 75 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main() 110 double x_skew = (sqr(d.b())*d.b() * std::tgamma(1 + 3/d.a()) - in main() local 114 4*x_skew*x_var*sqrt(x_var)*x_mean - in main() 118 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main() 153 double x_skew = (sqr(d.b())*d.b() * std::tgamma(1 + 3/d.a()) - in main() local 157 4*x_skew*x_var*sqrt(x_var)*x_mean - in main() 161 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
|
/external/llvm-project/libcxx/test/std/numerics/rand/rand.dis/rand.dist.pois/rand.dist.pois.exp/ |
D | eval.pass.cpp | 68 double x_skew = 2; in main() local 72 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main() 107 double x_skew = 2; in main() local 111 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main() 146 double x_skew = 2; in main() local 150 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
|
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.chisq/ |
D | eval.pass.cpp | 67 double x_skew = std::sqrt(8 / d.n()); in main() local 71 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main() 106 double x_skew = std::sqrt(8 / d.n()); in main() local 110 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main() 145 double x_skew = std::sqrt(8 / d.n()); in main() local 149 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
|
D | eval_param.pass.cpp | 69 double x_skew = std::sqrt(8 / p.n()); in main() local 73 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main() 110 double x_skew = std::sqrt(8 / p.n()); in main() local 114 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main() 151 double x_skew = std::sqrt(8 / p.n()); in main() local 155 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
|
/external/llvm-project/libcxx/test/std/numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.chisq/ |
D | eval.pass.cpp | 68 double x_skew = std::sqrt(8 / d.n()); in main() local 72 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main() 107 double x_skew = std::sqrt(8 / d.n()); in main() local 111 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main() 146 double x_skew = std::sqrt(8 / d.n()); in main() local 150 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
|
D | eval_param.pass.cpp | 70 double x_skew = std::sqrt(8 / p.n()); in main() local 74 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main() 111 double x_skew = std::sqrt(8 / p.n()); in main() local 115 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main() 152 double x_skew = std::sqrt(8 / p.n()); in main() local 156 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
|
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.pois/rand.dist.pois.exp/ |
D | eval.pass.cpp | 67 double x_skew = 2; in main() local 71 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main() 106 double x_skew = 2; in main() local 110 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main() 145 double x_skew = 2; in main() local 149 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
|
/external/llvm-project/libcxx/test/std/numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.lognormal/ |
D | eval.pass.cpp | 67 double x_skew = (std::exp(sqr(d.s())) + 2) * in test1() local 73 assert(std::abs((skew - x_skew) / x_skew) < 0.05); in test1() 111 double x_skew = (std::exp(sqr(d.s())) + 2) * in test2() local 117 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in test2() 155 double x_skew = (std::exp(sqr(d.s())) + 2) * in test3() local 161 assert(std::abs((skew - x_skew) / x_skew) < 0.02); in test3() 199 double x_skew = (std::exp(sqr(d.s())) + 2) * in test4() local 205 assert(std::abs((skew - x_skew) / x_skew) < 0.08); in test4() 243 double x_skew = (std::exp(sqr(d.s())) + 2) * in test5() local 249 assert(std::abs((skew - x_skew) / x_skew) < 0.2); in test5()
|
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.lognormal/ |
D | eval.pass.cpp | 66 double x_skew = (std::exp(sqr(d.s())) + 2) * in test1() local 72 assert(std::abs((skew - x_skew) / x_skew) < 0.05); in test1() 110 double x_skew = (std::exp(sqr(d.s())) + 2) * in test2() local 116 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in test2() 154 double x_skew = (std::exp(sqr(d.s())) + 2) * in test3() local 160 assert(std::abs((skew - x_skew) / x_skew) < 0.02); in test3() 198 double x_skew = (std::exp(sqr(d.s())) + 2) * in test4() local 204 assert(std::abs((skew - x_skew) / x_skew) < 0.08); in test4() 242 double x_skew = (std::exp(sqr(d.s())) + 2) * in test5() local 248 assert(std::abs((skew - x_skew) / x_skew) < 0.2); in test5()
|
D | eval_param.pass.cpp | 68 double x_skew = (std::exp(sqr(p.s())) + 2) * in test1() local 74 assert(std::abs((skew - x_skew) / x_skew) < 0.05); in test1() 114 double x_skew = (std::exp(sqr(p.s())) + 2) * in test2() local 120 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in test2() 160 double x_skew = (std::exp(sqr(p.s())) + 2) * in test3() local 166 assert(std::abs((skew - x_skew) / x_skew) < 0.02); in test3() 206 double x_skew = (std::exp(sqr(p.s())) + 2) * in test4() local 212 assert(std::abs((skew - x_skew) / x_skew) < 0.08); in test4() 252 double x_skew = (std::exp(sqr(p.s())) + 2) * in test5() local 258 assert(std::abs((skew - x_skew) / x_skew) < 0.2); in test5()
|
/external/llvm-project/libcxx/test/std/numerics/rand/rand.dis/rand.dist.pois/rand.dist.pois.gamma/ |
D | eval.pass.cpp | 67 double x_skew = 2 / std::sqrt(d.alpha()); in main() local 71 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main() 106 double x_skew = 2 / std::sqrt(d.alpha()); in main() local 110 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main() 145 double x_skew = 2 / std::sqrt(d.alpha()); in main() local 149 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
|
D | eval_param.pass.cpp | 69 double x_skew = 2 / std::sqrt(p.alpha()); in main() local 73 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main() 110 double x_skew = 2 / std::sqrt(p.alpha()); in main() local 114 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main() 151 double x_skew = 2 / std::sqrt(p.alpha()); in main() local 155 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
|
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.pois/rand.dist.pois.gamma/ |
D | eval.pass.cpp | 66 double x_skew = 2 / std::sqrt(d.alpha()); in main() local 70 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main() 105 double x_skew = 2 / std::sqrt(d.alpha()); in main() local 109 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main() 144 double x_skew = 2 / std::sqrt(d.alpha()); in main() local 148 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
|
D | eval_param.pass.cpp | 68 double x_skew = 2 / std::sqrt(p.alpha()); in main() local 72 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main() 109 double x_skew = 2 / std::sqrt(p.alpha()); in main() local 113 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main() 150 double x_skew = 2 / std::sqrt(p.alpha()); in main() local 154 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
|
/external/llvm-project/libcxx/test/std/numerics/rand/rand.dis/rand.dist.pois/rand.dist.pois.poisson/ |
D | eval_param.pass.cpp | 69 double x_skew = 1 / std::sqrt(x_var); in main() local 73 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main() 110 double x_skew = 1 / std::sqrt(x_var); in main() local 114 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main() 151 double x_skew = 1 / std::sqrt(x_var); in main() local 155 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
|
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.pois/rand.dist.pois.poisson/ |
D | eval_param.pass.cpp | 68 double x_skew = 1 / std::sqrt(x_var); in main() local 72 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main() 109 double x_skew = 1 / std::sqrt(x_var); in main() local 113 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main() 150 double x_skew = 1 / std::sqrt(x_var); in main() local 154 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main()
|