Skip to content

Commit

Permalink
Update show.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffreySarnoff authored Oct 16, 2019
1 parent 5081f47 commit a06685a
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions src/type/show.jl
Original file line number Diff line number Diff line change
Expand Up @@ -46,29 +46,6 @@ showall(x::DoubleFloat{T}) where {T<:IEEEFloat} = print(Base.stdout, string(x))

showall(x::Complex{DoubleFloat{T}}) where {T<:IEEEFloat} = print(Base.stdout, string(x))

#=
if VERSION < v"1.1"
using Base.Grisu: DIGITSs
fix_dec(out, d::Double64, flags::String, width::Int, precision::Int, c::Char) =
fix_dec(out, Float64(d), flags, width, precision, c, DIGITSs[Threads.threadid()])
fix_dec(out, d::Double32, flags::String, width::Int, precision::Int, c::Char) =
fix_dec(out, Float32(d), flags, width, precision, c, DIGITSs[Threads.threadid()])
fix_dec(out, d::Double16, flags::String, width::Int, precision::Int, c::Char) =
fix_dec(out, Float16(d), flags, width, precision, c, DIGITSs[Threads.threadid()])
ini_dec(out, d::Double64, flags::String, width::Int, precision::Int, c::Char) =
ini_dec(out, Float64(d), flags, width, precision, c, DIGITSs[Threads.threadid()])
ini_dec(out, d::Double32, flags::String, width::Int, precision::Int, c::Char) =
ini_dec(out, Float32(d), flags, width, precision, c, DIGITSs[Threads.threadid()])
ini_dec(out, d::Double16, flags::String, width::Int, precision::Int, c::Char) =
ini_dec(out, Float16(d), flags, width, precision, c, DIGITSs[Threads.threadid()])
fix_dec(x::Double64, n::Int) = fix_dec(Float64(x), n)
fix_dec(x::Double32, n::Int) = fix_dec(Float64(x), n)
fix_dec(x::Double16, n::Int) = fix_dec(Float32(x), n)
ini_dec(x::Double64, n::Int) = ini_dec(Float64(x), n)
ini_dec(x::Double32, n::Int) = ini_dec(Float64(x), n)
ini_dec(x::Double16, n::Int) = ini_dec(Float32(x), n)
=#
if VERSION >= v"1.2"
fix_dec(out, d::Double64, flags::String, width::Int, precision::Int, c::Char, digits) =
fix_dec(out, Float64(d), flags, width, precision, c, digits)
Expand Down

2 comments on commit a06685a

@JeffreySarnoff
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request updated: JuliaRegistries/General/4418

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if Julia TagBot is installed, or can be done manually through the github interface, or via:

git tag -a v0.9.12 -m "<description of version>" a06685a64148b4727d52df7635dec010ae8fae85
git push origin v0.9.12

Please sign in to comment.