diff --git a/base/deprecated.jl b/base/deprecated.jl index ab6ee91e54797..a9a5c93e269e5 100644 --- a/base/deprecated.jl +++ b/base/deprecated.jl @@ -1678,7 +1678,7 @@ function hex2num(s::AbstractString) return reinterpret(Float64, parse(UInt64, s, 16)) end -@deprecate num2hex(x::Union{Float16,Float32,Float64}) hex(reintepret(Unsigned, x), sizeof(x)*2) +@deprecate num2hex(x::Union{Float16,Float32,Float64}) hex(reinterpret(Unsigned, x), sizeof(x)*2) @deprecate num2hex(n::Integer) hex(n, sizeof(n)*2) # PR #22742: change in isapprox semantics