Skip to content

Commit

Permalink
Remove ini_hex and ini_HEX
Browse files Browse the repository at this point in the history
Ref. JuliaLang/julia#32859, JuliaMath/DoubleFloats.jl#125. This is causing warnings downstream in CUDA.jl.
  • Loading branch information
ToucheSir authored Jan 4, 2022
1 parent ef6051e commit 7a94b5c
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/printf.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Printf: ini_dec, fix_dec, ini_hex, ini_HEX
import Printf: ini_dec, fix_dec

if VERSION < v"1.1"
fix_dec(out, d::BFloat16, flags::String, width::Int, precision::Int, c::Char) = fix_dec(out, Float32(d), flags, width, precision, c)
Expand All @@ -10,8 +10,4 @@ if VERSION < v"1.1"
else
fix_dec(out, d::BFloat16, flags::String, width::Int, precision::Int, c::Char, digits) = fix_dec(out, Float32(d), flags, width, precision, c, digits)
ini_dec(out, d::BFloat16, ndigits::Int, flags::String, width::Int, precision::Int, c::Char, digits) = ini_dec(out, Float32(d), ndigits, flags, width, precision, c, digits)
ini_hex(out, d::BFloat16, ndigits::Int, flags::String, width::Int, precision::Int, c::Char, digits) = ini_hex(out, Float32(d), ndigits, flags, width, precision, c, digits)
ini_HEX(out, d::BFloat16, ndigits::Int, flags::String, width::Int, precision::Int, c::Char, digits) = ini_HEX(out, Float32(d), ndigits, flags, width, precision, c, digits)
ini_hex(out, d::BFloat16, flags::String, width::Int, precision::Int, c::Char, digits) = ini_hex(out, Float32(d), flags, width, precision, c, digits)
ini_HEX(out, d::BFloat16, flags::String, width::Int, precision::Int, c::Char, digits) = ini_HEX(out, Float32(d), flags, width, precision, c, digits)
end

0 comments on commit 7a94b5c

Please sign in to comment.