]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/tr1/5_numerical_facilities/special_functions/09_cyl_bessel_j/check_value.cc
Update copyright years.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / tr1 / 5_numerical_facilities / special_functions / 09_cyl_bessel_j / check_value.cc
index 82141c89ee9d790d4c5ec7fa7cf0e577f00da395..d927f1e6df8f5a442ad5e372810e2939ac087a83 100644 (file)
@@ -1,7 +1,7 @@
 // { dg-do run { target c++11 } }
 // { dg-options "-D__STDCPP_WANT_MATH_SPEC_FUNCS__" }
 //
-// Copyright (C) 2016-2018 Free Software Foundation, Inc.
+// Copyright (C) 2016-2020 Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -698,23 +698,36 @@ data026[21] =
 };
 const double toler026 = 1.0000000000000006e-11;
 
-// Test data for nu=100.00000000000000.
-// max(|f - f_GSL|): 2.5857788132910287e-14
-// max(|f - f_GSL| / |f_GSL|): 1.6767662425535933e-11
+// Test data for nu=100.0000000000000000
+// max(|f - f_GSL|): 3.9438938226332709e-14 at index 19
+// max(|f - f_GSL| / |f_GSL|): 2.0193411077170867e-11
+// mean(f - f_GSL): 1.6682360684660055e-15
+// variance(f - f_GSL): 5.3274331668346898e-28
+// stddev(f - f_GSL): 2.3081232997469372e-14
 const testcase_cyl_bessel_j<double>
-data027[11] =
+data027[21] =
 {
-  { 0.0116761350077845, 100.0000000000000000, 1000.0000000000000000, 0.0 },
-  {-0.0116998547780258, 100.0000000000000000, 1100.0000000000000000, 0.0 },
-  {-0.0228014834050837, 100.0000000000000000, 1200.0000000000000000, 0.0 },
-  {-0.0169735007873739, 100.0000000000000000, 1300.0000000000000000, 0.0 },
-  {-0.0014154528803530, 100.0000000000000000, 1400.0000000000000000, 0.0 },
-  { 0.0133337265844988, 100.0000000000000000, 1500.0000000000000000, 0.0 },
-  { 0.0198025620201474, 100.0000000000000000, 1600.0000000000000000, 0.0 },
-  { 0.0161297712798388, 100.0000000000000000, 1700.0000000000000000, 0.0 },
-  { 0.0053753369281577, 100.0000000000000000, 1800.0000000000000000, 0.0 },
-  {-0.0069238868725646, 100.0000000000000000, 1900.0000000000000000, 0.0 },
-  {-0.0154878717200738, 100.0000000000000000, 2000.0000000000000000, 0.0 },
+  {  1.1676135007789573e-02, 100.0000000000000000, 1000.0000000000000000, 0.0 },
+  { -1.1699854778025796e-02, 100.0000000000000000, 1100.0000000000000000, 0.0 },
+  { -2.2801483405083697e-02, 100.0000000000000000, 1200.0000000000000000, 0.0 },
+  { -1.6973500787373915e-02, 100.0000000000000000, 1300.0000000000000000, 0.0 },
+  { -1.4154528803481308e-03, 100.0000000000000000, 1400.0000000000000000, 0.0 },
+  {  1.3333726584495232e-02, 100.0000000000000000, 1500.0000000000000000, 0.0 },
+  {  1.9802562020148559e-02, 100.0000000000000000, 1600.0000000000000000, 0.0 },
+  {  1.6129771279838816e-02, 100.0000000000000000, 1700.0000000000000000, 0.0 },
+  {  5.3753369281536031e-03, 100.0000000000000000, 1800.0000000000000000, 0.0 },
+  { -6.9238868725645785e-03, 100.0000000000000000, 1900.0000000000000000, 0.0 },
+  { -1.5487871720069789e-02, 100.0000000000000000, 2000.0000000000000000, 0.0 },
+  { -1.7275186717671070e-02, 100.0000000000000000, 2100.0000000000000000, 0.0 },
+  { -1.2233030525173150e-02, 100.0000000000000000, 2200.0000000000000000, 0.0 },
+  { -2.8518508672241900e-03, 100.0000000000000000, 2300.0000000000000000, 0.0 },
+  {  7.0784372270289329e-03, 100.0000000000000000, 2400.0000000000000000, 0.0 },
+  {  1.3955367586928166e-02, 100.0000000000000000, 2500.0000000000000000, 0.0 },
+  {  1.5574059842493392e-02, 100.0000000000000000, 2600.0000000000000000, 0.0 },
+  {  1.1718043044647556e-02, 100.0000000000000000, 2700.0000000000000000, 0.0 },
+  {  4.0320953231285607e-03, 100.0000000000000000, 2800.0000000000000000, 0.0 },
+  { -4.6895111783053977e-03, 100.0000000000000000, 2900.0000000000000000, 0.0 },
+  { -1.1507715400035966e-02, 100.0000000000000000, 3000.0000000000000000, 0.0 },
 };
 const double toler027 = 1.0000000000000006e-10;