Skip to content

Commit 6b9a56e

Browse files
Pack usage of infinity const under IF_DOUBLE_SUPPORT
1 parent 51535b8 commit 6b9a56e

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

test/xpu_api/numerics/complex.number/complex.transcendentals/acos.pass.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ void test_edges()
140140

141141
ONEDPL_TEST_NUM_MAIN
142142
{
143-
test<float>();
143+
IF_DOUBLE_SUPPORT(test<float>())
144144
IF_DOUBLE_SUPPORT(test<double>())
145145
IF_LONG_DOUBLE_SUPPORT(test<long double>())
146146
IF_DOUBLE_SUPPORT(test_edges())

test/xpu_api/numerics/complex.number/complex.transcendentals/acosh.pass.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ void test_edges()
149149

150150
ONEDPL_TEST_NUM_MAIN
151151
{
152-
test<float>();
152+
IF_DOUBLE_SUPPORT(test<float>())
153153
IF_DOUBLE_SUPPORT(test<double>())
154154
IF_LONG_DOUBLE_SUPPORT(test<long double>())
155155
IF_DOUBLE_SUPPORT(test_edges())

test/xpu_api/numerics/complex.number/complex.transcendentals/log.pass.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ void test_edges()
124124

125125
ONEDPL_TEST_NUM_MAIN
126126
{
127-
test<float>();
127+
IF_DOUBLE_SUPPORT(test<float>())
128128
IF_DOUBLE_SUPPORT(test<double>())
129129
IF_LONG_DOUBLE_SUPPORT(test<long double>())
130130
IF_DOUBLE_SUPPORT(test_edges())

test/xpu_api/numerics/complex.number/complex.transcendentals/log10.pass.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ void test_edges()
6262

6363
ONEDPL_TEST_NUM_MAIN
6464
{
65-
test<float>();
65+
IF_DOUBLE_SUPPORT(test<float>())
6666
IF_DOUBLE_SUPPORT(test<double>())
6767
IF_LONG_DOUBLE_SUPPORT(test<long double>())
6868
IF_DOUBLE_SUPPORT(test_edges())

0 commit comments

Comments
 (0)