/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.int/ |
D | eval.pass.cpp | 69 double x_kurtosis = -6. * (sqr((double)d.b() - d.a() + 1) + 1) / in main() local 74 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main() 110 double x_kurtosis = -6. * (sqr((double)d.b() - d.a() + 1) + 1) / in main() local 115 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main() 151 double x_kurtosis = -6. * (sqr((double)d.b() - d.a() + 1) + 1) / in main() local 156 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main() 192 double x_kurtosis = -6. * (sqr((double)d.b() - d.a() + 1) + 1) / in main() local 197 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main() 233 double x_kurtosis = -6. * (sqr((double)d.b() - d.a() + 1) + 1) / in main() local 238 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 | 69 D::result_type x_kurtosis = -6./5; in main() local 73 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main() 109 D::result_type x_kurtosis = -6./5; in main() local 113 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main() 149 D::result_type x_kurtosis = -6./5; in main() local 153 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main() 189 D::result_type x_kurtosis = -6./5; in main() local 193 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main() 229 D::result_type x_kurtosis = -6./5; in main() local 233 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 | 82 double x_kurtosis = 6 + sqr(d.p()) / (1 - d.p()); in test1() local 86 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in test1() 125 double x_kurtosis = 6 + sqr(d.p()) / (1 - d.p()); in test2() local 129 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.03); in test2() 168 double x_kurtosis = 6 + sqr(d.p()) / (1 - d.p()); in test3() local 172 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.02); in test3() 211 double x_kurtosis = 6 + sqr(d.p()) / (1 - d.p()); in test4() local 215 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.02); in test4() 254 double x_kurtosis = 6 + sqr(d.p()) / (1 - d.p()); in test5() local 258 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.02); in test5() [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 | 66 double x_kurtosis = 12./5; in test1() local 70 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in test1() 107 double x_kurtosis = 12./5; in test2() local 111 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in test2() 148 double x_kurtosis = 12./5; in test3() local 152 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in test3() 189 double x_kurtosis = 12./5; in test4() local 193 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in test4()
|
D | eval_param.pass.cpp | 68 double x_kurtosis = 12./5; in test1() local 72 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in test1() 111 double x_kurtosis = 12./5; in test2() local 115 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in test2() 154 double x_kurtosis = 12./5; in test3() local 158 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in test3() 197 double x_kurtosis = 12./5; in test4() local 201 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in test4()
|
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.t/ |
D | eval.pass.cpp | 63 double x_kurtosis = 6 / (d.n() - 4); in main() local 67 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.2); in main() 98 double x_kurtosis = 6 / (d.n() - 4); in main() local 102 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.04); in main() 133 double x_kurtosis = 6 / (d.n() - 4); in main() local 137 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.norm/rand.dist.norm.lognormal/ |
D | eval.pass.cpp | 68 double x_kurtosis = std::exp(4*sqr(d.s())) + 2*std::exp(3*sqr(d.s())) + in test1() local 73 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.25); in test1() 112 double x_kurtosis = std::exp(4*sqr(d.s())) + 2*std::exp(3*sqr(d.s())) + in test2() local 117 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.03); in test2() 156 double x_kurtosis = std::exp(4*sqr(d.s())) + 2*std::exp(3*sqr(d.s())) + in test3() local 161 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.05); in test3() 200 double x_kurtosis = std::exp(4*sqr(d.s())) + 2*std::exp(3*sqr(d.s())) + in test4() local 205 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.4); in test4() 244 double x_kurtosis = std::exp(4*sqr(d.s())) + 2*std::exp(3*sqr(d.s())) + in test5() local 249 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.7); in test5()
|
D | eval_param.pass.cpp | 70 double x_kurtosis = std::exp(4*sqr(p.s())) + 2*std::exp(3*sqr(p.s())) + in test1() local 75 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.25); in test1() 116 double x_kurtosis = std::exp(4*sqr(p.s())) + 2*std::exp(3*sqr(p.s())) + in test2() local 121 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.03); in test2() 162 double x_kurtosis = std::exp(4*sqr(p.s())) + 2*std::exp(3*sqr(p.s())) + in test3() local 167 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.05); in test3() 208 double x_kurtosis = std::exp(4*sqr(p.s())) + 2*std::exp(3*sqr(p.s())) + in test4() local 213 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.4); in test4() 254 double x_kurtosis = std::exp(4*sqr(p.s())) + 2*std::exp(3*sqr(p.s())) + in test5() local 259 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.7); in test5()
|
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.chisq/ |
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() 107 double x_kurtosis = 12 / d.n(); in main() local 111 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main() 146 double x_kurtosis = 12 / d.n(); in main() local 150 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main()
|
D | eval_param.pass.cpp | 70 double x_kurtosis = 12 / p.n(); in main() local 74 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main() 111 double x_kurtosis = 12 / p.n(); in main() local 115 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main() 152 double x_kurtosis = 12 / p.n(); in main() local 156 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.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() 107 double x_kurtosis = 6; in main() local 111 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main() 146 double x_kurtosis = 6; in main() local 150 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main()
|
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.samp/rand.dist.samp.pconst/ |
D | eval.pass.cpp | 88 double x_kurtosis = -6./5; in test1() local 92 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in test1() 151 double x_kurtosis = -6./5; in test2() local 155 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in test2() 214 double x_kurtosis = -6./5; in test3() local 218 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in test3() 277 double x_kurtosis = -6./5; in test4() local 281 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in test4() 340 double x_kurtosis = -6./5; in test5() local 344 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in test5() [all …]
|
/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 test1() local 72 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.02); in test1() 111 double x_kurtosis = 6. / d.k() + sqr(d.p()) / (d.k() * (1 - d.p())); in test2() local 115 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in test2() 154 double x_kurtosis = 6. / d.k() + sqr(d.p()) / (d.k() * (1 - d.p())); in test3() local 158 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.03); in test3() 238 double x_kurtosis = 6. / d.k() + sqr(d.p()) / (d.k() * (1 - d.p())); in test5() local 242 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.05); in test5() 281 double x_kurtosis = 6. / d.k() + sqr(d.p()) / (d.k() * (1 - d.p())); in test6() local 285 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.03); in test6()
|
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.gamma/ |
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()
|
D | eval.pass.cpp | 67 double x_kurtosis = 6 / d.alpha(); in main() local 71 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main() 106 double x_kurtosis = 6 / d.alpha(); in main() local 110 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main() 145 double x_kurtosis = 6 / d.alpha(); in main() local 149 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_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()
|
D | eval.pass.cpp | 129 double x_kurtosis = 1 / x_var; in main() local 133 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.03); in main() 168 double x_kurtosis = 1 / x_var; in main() local 172 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.04); in main() 207 double x_kurtosis = 1 / x_var; in main() local 211 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main()
|
/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.pois/rand.dist.pois.weibull/ |
D | eval_param.pass.cpp | 72 double x_kurtosis = (sqr(sqr(p.b())) * std::tgamma(1 + 4/p.a()) - in main() local 78 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main() 117 double x_kurtosis = (sqr(sqr(p.b())) * std::tgamma(1 + 4/p.a()) - in main() local 123 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.03); in main() 162 double x_kurtosis = (sqr(sqr(p.b())) * std::tgamma(1 + 4/p.a()) - in main() local 168 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() 113 double x_kurtosis = (sqr(sqr(d.b())) * std::tgamma(1 + 4/d.a()) - in main() local 119 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main() 156 double x_kurtosis = (sqr(sqr(d.b())) * std::tgamma(1 + 4/d.a()) - in main() local 162 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.03); in main()
|
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.bern/rand.dist.bern.bernoulli/ |
D | eval.pass.cpp | 62 double x_kurtosis = (6 * sqr(d.p()) - 6 * d.p() + 1)/x_var; in main() local 66 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.02); in main() 98 double x_kurtosis = (6 * sqr(d.p()) - 6 * d.p() + 1)/x_var; in main() local 102 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.02); in main()
|
D | eval_param.pass.cpp | 64 double x_kurtosis = (6 * sqr(p.p()) - 6 * p.p() + 1)/x_var; in main() local 68 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.02); in main() 102 double x_kurtosis = (6 * sqr(p.p()) - 6 * p.p() + 1)/x_var; in main() local 106 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.02); in main()
|