Skip to content

Commit 88ee79f

Browse files
committed
Test with DoubleFloat
1 parent c9a11fd commit 88ee79f

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

Project.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ SingularIntegrals = "d7440221-8b5e-42fc-909c-0567823f424a"
1111

1212
[compat]
1313
ClassicalOrthogonalPolynomials = "0.15.1"
14+
DoubleFloats = "1"
1415
FillArrays = "1.13.0"
1516
LinearAlgebra = "1"
1617
QuadGK = "2.11.2"
@@ -19,8 +20,9 @@ Test = "1"
1920
julia = "1.10"
2021

2122
[extras]
23+
DoubleFloats = "497a8b3b-efae-58df-a0af-a86822472b78"
2224
QuadGK = "1fd47b50-473d-5c70-9696-f719f8f3bcdc"
2325
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
2426

2527
[targets]
26-
test = ["Test", "QuadGK"]
28+
test = ["Test", "DoubleFloats", "QuadGK"]

test/runtests.jl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using MultivariateSingularIntegrals, QuadGK, ClassicalOrthogonalPolynomials, LinearAlgebra, Test
1+
using MultivariateSingularIntegrals, QuadGK, ClassicalOrthogonalPolynomials, LinearAlgebra, DoubleFloats, Test
22

33

44
= (2.0, 2.0im, 2.0+2im, 2.0-2im, -2.0 - 2im)
@@ -47,6 +47,8 @@ end
4747
M = Diagonal((P'P)[1:n,1:n])
4848
@test P[big(0.), 1:n]' * inv(M) * logkernelsquare(z, n) * inv(M) * P[big(0.), 1:n] log(z) atol=1E-40
4949
end
50+
51+
@test logkernelsquare(Double64(0) + 0im, 10) logkernelsquare(big(0.0) + 0im, 10) atol=1E-30
5052
end
5153
end
5254
end

0 commit comments

Comments
 (0)