We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9b2a564 commit 8295987Copy full SHA for 8295987
src/type/string.jl
@@ -13,15 +13,6 @@ function string(x::DoubleFloat{T}) where {T<:IEEEFloat}
13
str[1:zat] * str[eat:end]
14
end
15
16
-function string(x::DoubleFloat{T}) where {T<:IEEEFloat}
17
- (!isfinite(HI(x)) || LO(x) === 0.0) && return string(HI(x))
18
- str = string(Float128(x))
19
- if endswith("e+00", str)
20
- str = str[1:end-4]
21
- end
22
- str
23
-end
24
-
25
function string(x::Complex{DoubleFloat{T}}) where {T<:IEEEFloat}
26
xreal, ximag = reim(x)
27
sepstr = signbit(ximag) ? " - " : " + "
0 commit comments