Skip to content

Commit 55a2181

Browse files
committed
Modify extreme test case from #1228
1 parent 56aadec commit 55a2181

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

reporting/performance/test_kn.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ static const std::array<std::array<T, 3>, 9> kn_data = { {
4848
{ { SC_(-10.0), SC_(1.0), SC_(1.80713289901029454691597861302340015908245782948536080022119e8) } },
4949
{ { SC_(100.0), SC_(5.0), SC_(7.03986019306167654653386616796116726248616158936088056952477e115) } },
5050
{ { SC_(100.0), SC_(80.0), SC_(8.39287107246490782848985384895907681748152272748337807033319e-12) } },
51-
{ { SC_(-1000.0), SC_(700.0), SC_(6.51561979144735818903553852606383312984409361984128221539405e-31) } },
51+
{ { SC_(-129.0), SC_(200.0), SC_(3.61744436315860678558682169223740584132967454950379795115566e-71) } },
5252
} };
5353

5454
int main()

test/test_bessel_k.hpp

+1-3
Original file line numberDiff line numberDiff line change
@@ -133,9 +133,7 @@ void test_bessel(T, const char* name)
133133
{{ SC_(-10.0), SC_(1.0), SC_(1.80713289901029454691597861302340015908245782948536080022119e8) }},
134134
{{ SC_(100.0), SC_(5.0), SC_(7.03986019306167654653386616796116726248616158936088056952477e115) }},
135135
{{ SC_(100.0), SC_(80.0), SC_(8.39287107246490782848985384895907681748152272748337807033319e-12) }},
136-
((std::numeric_limits<T>::is_specialized) && (std::numeric_limits<T>::min_exponent10 > -293))
137-
? std::array<typename table_type<T>::type, 3> {{ SC_(-1000.0), SC_(664.0), SC_(0.00372564418019942154373086796021082031912651177619335584767976) }}
138-
: std::array<typename table_type<T>::type, 3> {{ SC_(-1000.0), SC_(700.0), SC_(6.51561979144735818903553852606383312984409361984128221539405e-31) }},
136+
{{ SC_(-129.0), SC_(200.0), SC_(3.61744436315860678558682169223740584132967454950379795115566e-71) }},
139137
}};
140138
static const std::array<std::array<typename table_type<T>::type, 3>, 11> kv_data = {{
141139
{{ SC_(0.5), SC_(0.875), SC_(0.558532231646608646115729767013630967055657943463362504577189) }},

test/test_bessel_k_prime.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ void test_bessel(T, const char* name)
131131
{{ SC_(-10.0), SC_(1.0), SC_(-1.8171379399979651461891429013401068319174853467388121e9) }},
132132
{{ SC_(100.0), SC_(5.0), SC_(-1.4097486373570936520327835736048715219413065916411893e117) }},
133133
{{ SC_(100.0), SC_(80.0), SC_(-1.34557011017664184003144916855685180771861680634827508e-11) }},
134-
{{ SC_(-1000.0), SC_(700.0), SC_(-1.136342773238774160870536985092768591616106526374957e-30) }},
134+
{{ SC_(-129.0), SC_(200.0), SC_(3.61744436315860678558682169223740584132967454950379795115566e-71) }},
135135
}};
136136
static const std::array<std::array<T, 3>, 11> kv_prime_data = {{
137137
{{ SC_(0.5), SC_(0.875), SC_(-0.8776935068732421581818610624499915196588910540138553643355820) }},

0 commit comments

Comments
 (0)