Skip to content

Internals of BigFloat getting changed in 1.12 #485

@KristofferC

Description

@KristofferC

See JuliaLang/julia#55906.

Now causes

Error During Test at /home/pkgeval/.julia/packages/SpecialFunctions/Zijv9/test/gamma_inc.jl:231
  Test threw exception
  Expression: gamma(a, x) ≈ gamma(big(a), big(x))
  not compatible with mpfr
  Stacktrace:
    [1] error(s::String)
      @ Base ./error.jl:44
    [2] unsafe_convert(::Type{Ref{BigFloat}}, x::Base.RefValue{BigFloat})
      @ Base.MPFR ./mpfr.jl:212
    [3] _gamma_big(a::BigInt, x::BigFloat)
      @ SpecialFunctions ~/.julia/packages/SpecialFunctions/Zijv9/src/gamma_inc.jl:1159
    [4] _gamma
      @ ~/.julia/packages/SpecialFunctions/Zijv9/src/gamma_inc.jl:1147 [inlined]
    [5] gamma(a::BigInt, x::BigFloat)
      @ SpecialFunctions ~/.julia/packages/SpecialFunctions/Zijv9/src/gamma_inc.jl:1120
    [6] macro expansion
      @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined]
    [7] (::var"#14#15")()
      @ Main ~/.julia/packages/SpecialFunctions/Zijv9/test/gamma_inc.jl:231
    [8] setprecision(f::var"#14#15", ::Type{BigFloat}, prec::Int64; base::Int64)
      @ Base.MPFR ./mpfr.jl:1180
    [9] setprecision(f::Function, ::Type{BigFloat}, prec::Int64)
      @ Base.MPFR ./mpfr.jl:1179
   [10] top-level scope
      @ ~/.julia/packages/SpecialFunctions/Zijv9/test/gamma_inc.jl:229
   [11] macro expansion
      @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined]
   [12] macro expansion
      @ ~/.julia/packages/SpecialFunctions/Zijv9/test/gamma_inc.jl:229 [inlined]
   [13] include(mapexpr::Function, mod::Module, _path::String)
      @ Base ./Base.jl:308
   [14] macro expansion
      @ ~/.julia/packages/SpecialFunctions/Zijv9/test/runtests.jl:45 [inlined]
   [15] macro expansion
      @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions