-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Closed
Labels
display and printingAesthetics and correctness of printed representations of objects.Aesthetics and correctness of printed representations of objects.regressionRegression in behavior compared to a previous versionRegression in behavior compared to a previous version
Description
_ _ _(_)_ | Documentation: https://docs.julialang.org
(_) | (_) (_) |
_ _ _| |_ __ _ | Type "?" for help, "]?" for Pkg help.
| | | | | | |/ _` | |
| | |_| | | | (_| | | Version 1.6.1-pre.1 (2021-04-01)
_/ |\__'_|_|_|\__'_| | release-1.6/9283b6c7a7 (fork: 293 commits, 114 days)
|__/ |
julia> using Printf
julia> @printf "%p" 0xfffffffffffe0000
ERROR: InexactError: check_top_bit(Int64, 18446744073709420544)
Stacktrace:
[1] throw_inexacterror(f::Symbol, #unused#::Type{Int64}, val::UInt64)
@ Core ./boot.jl:602
[2] check_top_bit
@ ./boot.jl:616 [inlined]
[3] toInt64
@ ./boot.jl:677 [inlined]
[4] Int64
@ ./boot.jl:752 [inlined]
[5] fmt(buf::Vector{UInt8}, pos::Int64, arg::UInt64, spec::Printf.Spec{Val{'p'}})
@ Printf /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.6/Printf/src/Printf.jl:550
[6] format
@ /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.6/Printf/src/Printf.jl:698 [inlined]
[7] format(io::Base.TTY, f::Printf.Format{Base.CodeUnits{UInt8, String}, Tuple{Printf.Spec{Val{'p'}}}}, args::UInt64)
@ Printf /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.6/Printf/src/Printf.jl:781
[8] top-level scope
@ REPL[2]:1
vs
_ _ _(_)_ | Documentation: https://docs.julialang.org
(_) | (_) (_) |
_ _ _| |_ __ _ | Type "?" for help, "]?" for Pkg help.
| | | | | | |/ _` | |
| | |_| | | | (_| | | Version 1.5.3 (2020-11-09)
_/ |\__'_|_|_|\__'_| | Official https://julialang.org/ release
|__/ |
julia> using Printf
julia> @printf "%p" 0xfffffffffffe0000
0xfffffffffffe0000
Metadata
Metadata
Assignees
Labels
display and printingAesthetics and correctness of printed representations of objects.Aesthetics and correctness of printed representations of objects.regressionRegression in behavior compared to a previous versionRegression in behavior compared to a previous version