Skip to content

Commit 51535b8

Browse files
Revert "Fix literals of double type"
This reverts commit 68fc456.
1 parent 68fc456 commit 51535b8

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ template <class T>
2929
void
3030
test()
3131
{
32-
test(dpl::complex<T>(TestUtils::infinity_val, T(1)), dpl::complex<T>(T(0), -TestUtils::infinity_val));
32+
test(dpl::complex<T>(TestUtils::infinity_val, 1), dpl::complex<T>(0, -TestUtils::infinity_val));
3333
}
3434

3535
void test_edges()

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ template <class T>
2929
void
3030
test()
3131
{
32-
test(dpl::complex<T>(TestUtils::infinity_val, T(1)), dpl::complex<T>(TestUtils::infinity_val, T(0)));
32+
test(dpl::complex<T>(TestUtils::infinity_val, 1), dpl::complex<T>(TestUtils::infinity_val, 0));
3333
}
3434

3535
void test_edges()

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ template <class T>
2929
void
3030
test()
3131
{
32-
test(dpl::complex<T>(T(0), T(0)), dpl::complex<T>(T(0), T(0)));
32+
test(dpl::complex<T>(0, 0), dpl::complex<T>(0, 0));
3333
}
3434

3535
void test_edges()

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ template <class T>
2929
void
3030
test()
3131
{
32-
test(dpl::complex<T>(T(0), T(0)), dpl::complex<T>(T(0), T(0)));
32+
test(dpl::complex<T>(0, 0), dpl::complex<T>(0, 0));
3333
}
3434

3535
void test_edges()

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ template <class T>
2929
void
3030
test()
3131
{
32-
test(dpl::complex<T>(T(0), T(0)), dpl::complex<T>(-TestUtils::infinity_val, T(0)));
32+
test(dpl::complex<T>(0, 0), dpl::complex<T>(-TestUtils::infinity_val, 0));
3333
}
3434

3535
void test_edges()

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ template <class T>
2929
void
3030
test()
3131
{
32-
test(dpl::complex<T>(T(0), T(0)), dpl::complex<T>(-TestUtils::infinity_val, T(0)));
32+
test(dpl::complex<T>(0, 0), dpl::complex<T>(-TestUtils::infinity_val, 0));
3333
}
3434

3535
void test_edges()

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ template <class T>
3131
void
3232
test()
3333
{
34-
test(T(2), dpl::complex<T>(T(2)), dpl::complex<T>(T(4)));
34+
test(T(2), dpl::complex<T>(2), dpl::complex<T>(4));
3535
}
3636

3737
void test_edges()

0 commit comments

Comments
 (0)