-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Closed
Labels
bignumsBigInt and BigFloatBigInt and BigFloatfloat16system:powerpcPowerPCPowerPCupstreamThe issue is with an upstream dependency, e.g. LLVMThe issue is with an upstream dependency, e.g. LLVM
Description
Conversion from BigInt
gmp (78) | failed at 2021-01-19T21:39:56.822
Test Failed at /nobackup/users/vchuravy/dev/julia/test/gmp.jl:501
Expression: T(big"2" ^ (n + 1) - big"2" ^ (n - precision(T))) === T(Inf)
Evaluated: -Inf16 === Inf16
On Power9 julia -C pwr9
julia> T=Float16; n = exponent(floatmax(T))
15
julia> T(big"2" ^ (n + 1) - big"2" ^ (n - precision(T)))
Inf16On Power9 julia -C pwr8
julia> T=Float16; n = exponent(floatmax(T))
15
julia> T(big"2" ^ (n + 1) - big"2" ^ (n - precision(T)))
-Inf16Gist: https://gist.github.com/vchuravy/a0170b4d42e46d800aae53b3a80bb582
Duplicate of #38896 which I closed since fixing #38883 made it harder to reproduce until #39300
Metadata
Metadata
Assignees
Labels
bignumsBigInt and BigFloatBigInt and BigFloatfloat16system:powerpcPowerPCPowerPCupstreamThe issue is with an upstream dependency, e.g. LLVMThe issue is with an upstream dependency, e.g. LLVM