Skip to content

Commit

Permalink
Typo
Browse files Browse the repository at this point in the history
Introduce by #22088. Found by @fredrikekre
  • Loading branch information
simonbyrne authored Aug 11, 2017
1 parent eabd021 commit 71273c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/deprecated.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1658,7 +1658,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
Expand Down

0 comments on commit 71273c9

Please sign in to comment.