Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reset #202

Closed
wants to merge 3 commits into from
Closed

Reset #202

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ keywords = ["math", "floating-point", "doubledouble", "extended-precision", "acc
license = "MIT"
desc = "extended precision floating point types using value pairs"
repo = "https://github.com/JuliaMath/DoubleFloats.jl.git"
version = "1.3.8"
version = "1.3.9"

[deps]
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
Expand Down
6 changes: 3 additions & 3 deletions src/Double.jl
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ Convert `x` to an extended precision `Double64`.
lo = Float64(x - Float64(hi))
else
hi = Float64(x)
lo = hi
lo = NaN64
end
return Double64(hi, lo)
end
Expand All @@ -120,7 +120,7 @@ Convert `x` to an extended precision `Double32`.
lo = Float32(x - Float32(hi))
else
hi = Float32(x)
lo = hi
lo = NaN32
end
return Double32(hi, lo)
end
Expand All @@ -136,7 +136,7 @@ Convert `x` to an extended precision `Double16`.
lo = Float16(x - Float16(hi))
else
hi = Float16(x)
lo = hi
lo = NaN16
end
return Double16(hi, lo)
end
Expand Down
2 changes: 0 additions & 2 deletions test/specialvalues.jl
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@ end
@testset "Inf and NaN layout $T" for T in (Double16, Double32, Double64)
@test isinf(HI(T(Inf)))
@test isnan(HI(T(NaN)))
@test isinf(LO(T(Inf)))
@test isnan(LO(T(NaN)))
end

@testset "Inf and NaN conversion" for T in (Double16, Double32, Double64)
Expand Down
Loading