/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.int/ |
D | eval.pass.cpp | 68 double x_kurtosis = -6. * (sqr((double)d.b() - d.a() + 1) + 1) / in main() local 73 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main() 109 double x_kurtosis = -6. * (sqr((double)d.b() - d.a() + 1) + 1) / in main() local 114 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main() 150 double x_kurtosis = -6. * (sqr((double)d.b() - d.a() + 1) + 1) / in main() local 155 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main() 191 double x_kurtosis = -6. * (sqr((double)d.b() - d.a() + 1) + 1) / in main() local 196 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main() 232 double x_kurtosis = -6. * (sqr((double)d.b() - d.a() + 1) + 1) / in main() local 237 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main() [all …]
|
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.real/ |
D | eval.pass.cpp | 68 D::result_type x_kurtosis = -6./5; in main() local 72 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main() 108 D::result_type x_kurtosis = -6./5; in main() local 112 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main() 148 D::result_type x_kurtosis = -6./5; in main() local 152 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main() 188 D::result_type x_kurtosis = -6./5; in main() local 192 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main() 228 D::result_type x_kurtosis = -6./5; in main() local 232 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main() [all …]
|
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.bern/rand.dist.bern.geo/ |
D | eval.pass.cpp | 68 double x_kurtosis = 6 + sqr(d.p()) / (1 - d.p()); in main() local 72 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main() 108 double x_kurtosis = 6 + sqr(d.p()) / (1 - d.p()); in main() local 112 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.03); in main() 148 double x_kurtosis = 6 + sqr(d.p()) / (1 - d.p()); in main() local 152 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.02); in main() 188 double x_kurtosis = 6 + sqr(d.p()) / (1 - d.p()); in main() local 192 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.02); in main() 228 double x_kurtosis = 6 + sqr(d.p()) / (1 - d.p()); in main() local 232 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.02); in main() [all …]
|
D | eval_param.pass.cpp | 70 double x_kurtosis = 6 + sqr(p.p()) / (1 - p.p()); in main() local 74 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main() 112 double x_kurtosis = 6 + sqr(p.p()) / (1 - p.p()); in main() local 116 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.03); in main() 154 double x_kurtosis = 6 + sqr(p.p()) / (1 - p.p()); in main() local 158 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.02); in main()
|
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.pois/rand.dist.pois.extreme/ |
D | eval.pass.cpp | 67 double x_kurtosis = 12./5; in main() local 71 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main() 106 double x_kurtosis = 12./5; in main() local 110 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main() 145 double x_kurtosis = 12./5; in main() local 149 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main() 184 double x_kurtosis = 12./5; in main() local 188 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main()
|
D | eval_param.pass.cpp | 68 double x_kurtosis = 12./5; in main() local 72 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main() 108 double x_kurtosis = 12./5; in main() local 112 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main() 148 double x_kurtosis = 12./5; in main() local 152 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main() 188 double x_kurtosis = 12./5; in main() local 192 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main()
|
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.t/ |
D | eval.pass.cpp | 64 double x_kurtosis = 6 / (d.n() - 4); in main() local 68 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.2); in main() 100 double x_kurtosis = 6 / (d.n() - 4); in main() local 104 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.04); in main() 136 double x_kurtosis = 6 / (d.n() - 4); in main() local 140 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.02); in main()
|
D | eval_param.pass.cpp | 65 double x_kurtosis = 6 / (p.n() - 4); in main() local 69 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.2); in main() 102 double x_kurtosis = 6 / (p.n() - 4); in main() local 106 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.04); in main() 139 double x_kurtosis = 6 / (p.n() - 4); in main() local 143 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.02); in main()
|
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.bern/rand.dist.bern.negbin/ |
D | eval.pass.cpp | 68 double x_kurtosis = 6. / d.k() + sqr(d.p()) / (d.k() * (1 - d.p())); in main() local 72 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.02); in main() 108 double x_kurtosis = 6. / d.k() + sqr(d.p()) / (d.k() * (1 - d.p())); in main() local 112 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main() 148 double x_kurtosis = 6. / d.k() + sqr(d.p()) / (d.k() * (1 - d.p())); in main() local 152 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.03); in main() 188 double x_kurtosis = 6. / d.k() + sqr(d.p()) / (d.k() * (1 - d.p())); in main() local 226 double x_kurtosis = 6. / d.k() + sqr(d.p()) / (d.k() * (1 - d.p())); in main() local 230 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.05); in main() 266 double x_kurtosis = 6. / d.k() + sqr(d.p()) / (d.k() * (1 - d.p())); in main() local [all …]
|
D | eval_param.pass.cpp | 70 double x_kurtosis = 6. / p.k() + sqr(p.p()) / (p.k() * (1 - p.p())); in main() local 74 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main() 112 double x_kurtosis = 6. / p.k() + sqr(p.p()) / (p.k() * (1 - p.p())); in main() local 116 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main() 154 double x_kurtosis = 6. / p.k() + sqr(p.p()) / (p.k() * (1 - p.p())); in main() local 158 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.03); in main()
|
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.pois/rand.dist.pois.exp/ |
D | eval.pass.cpp | 68 double x_kurtosis = 6; in main() local 72 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main() 108 double x_kurtosis = 6; in main() local 112 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main() 148 double x_kurtosis = 6; in main() local 152 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main()
|
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.pois/rand.dist.pois.poisson/ |
D | eval.pass.cpp | 67 double x_kurtosis = 1 / x_var; in main() local 71 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.03); in main() 106 double x_kurtosis = 1 / x_var; in main() local 110 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.04); in main() 145 double x_kurtosis = 1 / x_var; in main() local 149 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main()
|
D | eval_param.pass.cpp | 69 double x_kurtosis = 1 / x_var; in main() local 73 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.03); in main() 110 double x_kurtosis = 1 / x_var; in main() local 114 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.04); in main() 151 double x_kurtosis = 1 / x_var; in main() local 155 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main()
|
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.pois/rand.dist.pois.gamma/ |
D | eval.pass.cpp | 68 double x_kurtosis = 6 / d.alpha(); in main() local 72 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main() 108 double x_kurtosis = 6 / d.alpha(); in main() local 112 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main() 148 double x_kurtosis = 6 / d.alpha(); in main() local 152 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main()
|
D | eval_param.pass.cpp | 69 double x_kurtosis = 6 / p.alpha(); in main() local 73 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main() 110 double x_kurtosis = 6 / p.alpha(); in main() local 114 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main() 151 double x_kurtosis = 6 / p.alpha(); in main() local 155 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main()
|
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.chisq/ |
D | eval_param.pass.cpp | 69 double x_kurtosis = 12 / p.n(); in main() local 73 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main() 110 double x_kurtosis = 12 / p.n(); in main() local 114 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main() 151 double x_kurtosis = 12 / p.n(); in main() local 155 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main()
|
D | eval.pass.cpp | 68 double x_kurtosis = 12 / d.n(); in main() local 72 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main() 108 double x_kurtosis = 12 / d.n(); in main() local 112 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main() 148 double x_kurtosis = 12 / d.n(); in main() local 152 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main()
|
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.lognormal/ |
D | eval_param.pass.cpp | 71 double x_kurtosis = std::exp(4*sqr(p.s())) + 2*std::exp(3*sqr(p.s())) + in main() local 76 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.25); in main() 114 double x_kurtosis = std::exp(4*sqr(p.s())) + 2*std::exp(3*sqr(p.s())) + in main() local 119 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.03); in main() 157 double x_kurtosis = std::exp(4*sqr(p.s())) + 2*std::exp(3*sqr(p.s())) + in main() local 162 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.05); in main() 200 double x_kurtosis = std::exp(4*sqr(p.s())) + 2*std::exp(3*sqr(p.s())) + in main() local 205 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.4); in main() 243 double x_kurtosis = std::exp(4*sqr(p.s())) + 2*std::exp(3*sqr(p.s())) + in main() local 248 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.7); in main()
|
D | eval.pass.cpp | 69 double x_kurtosis = std::exp(4*sqr(d.s())) + 2*std::exp(3*sqr(d.s())) + in main() local 74 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.25); in main() 111 double x_kurtosis = std::exp(4*sqr(d.s())) + 2*std::exp(3*sqr(d.s())) + in main() local 116 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.03); in main() 153 double x_kurtosis = std::exp(4*sqr(d.s())) + 2*std::exp(3*sqr(d.s())) + in main() local 158 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.05); in main() 195 double x_kurtosis = std::exp(4*sqr(d.s())) + 2*std::exp(3*sqr(d.s())) + in main() local 200 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.4); in main() 237 double x_kurtosis = std::exp(4*sqr(d.s())) + 2*std::exp(3*sqr(d.s())) + in main() local 242 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.7); in main()
|
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.samp/rand.dist.samp.pconst/ |
D | eval.pass.cpp | 87 double x_kurtosis = -6./5; in main() local 91 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main() 147 double x_kurtosis = -6./5; in main() local 151 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main() 207 double x_kurtosis = -6./5; in main() local 211 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main() 267 double x_kurtosis = -6./5; in main() local 271 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main() 327 double x_kurtosis = -6./5; in main() local 331 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main() [all …]
|
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.bern/rand.dist.bern.bin/ |
D | eval_param.pass.cpp | 70 double x_kurtosis = (1-6*p.p()*(1-p.p())) / x_var; in main() local 74 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.04); in main() 112 double x_kurtosis = (1-6*p.p()*(1-p.p())) / x_var; in main() local 116 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main() 154 double x_kurtosis = (1-6*p.p()*(1-p.p())) / x_var; in main() local 158 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.3); in main()
|
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.bern/rand.dist.bern.bernoulli/ |
D | eval.pass.cpp | 61 double x_kurtosis = (6 * sqr(d.p()) - 6 * d.p() + 1)/x_var; in main() local 65 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.02); in main() 97 double x_kurtosis = (6 * sqr(d.p()) - 6 * d.p() + 1)/x_var; in main() local 101 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.02); in main()
|
D | eval_param.pass.cpp | 63 double x_kurtosis = (6 * sqr(p.p()) - 6 * p.p() + 1)/x_var; in main() local 67 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.02); in main() 101 double x_kurtosis = (6 * sqr(p.p()) - 6 * p.p() + 1)/x_var; in main() local 105 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.02); in main()
|
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.pois/rand.dist.pois.weibull/ |
D | eval_param.pass.cpp | 71 double x_kurtosis = (sqr(sqr(p.b())) * std::tgamma(1 + 4/p.a()) - in main() local 77 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main() 116 double x_kurtosis = (sqr(sqr(p.b())) * std::tgamma(1 + 4/p.a()) - in main() local 122 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.03); in main() 161 double x_kurtosis = (sqr(sqr(p.b())) * std::tgamma(1 + 4/p.a()) - in main() local 167 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.03); in main()
|
D | eval.pass.cpp | 70 double x_kurtosis = (sqr(sqr(d.b())) * std::tgamma(1 + 4/d.a()) - in main() local 76 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.03); in main() 114 double x_kurtosis = (sqr(sqr(d.b())) * std::tgamma(1 + 4/d.a()) - in main() local 120 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main() 158 double x_kurtosis = (sqr(sqr(d.b())) * std::tgamma(1 + 4/d.a()) - in main() local 164 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.03); in main()
|