We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f2d5ea4 + 4511dcf commit 1518da5Copy full SHA for 1518da5
src/math/ops/op_dd_dd.jl
@@ -57,7 +57,7 @@ end
57
58
function sqrt_dd_dd(x::Tuple{T,T}) where {T<:IEEEFloat}
59
iszero(HI(x)) && return x
60
- signbit(HI(x)) && throw(DomainError("sqrt(x) expects x >= 0")) # maybe we can remove this check? It will return nan anyway.
+ signbit(HI(x)) && throw(DomainError("sqrt(x) expects x >= 0"))
61
62
ahi, alo = HILO(x)
63
s = sqrt(ahi)
0 commit comments