Skip to content

bigfloat transcendentials don't work on julia 1.11 #49

Open
@j-fu

Description

@j-fu

Hi, thanks for the package!
It seems that the connection with BigFloat does not work on Julia 1.11:

The MWE

using MultiFloats
MultiFloats.use_bigfloat_transcendentals()
x::Float64x2=10
log10(x)

works for Julia 1.10, but on 1.11 it gives

ERROR: MethodError: no method matching _precision_with_base_2(::Type{MultiFloat{Float64, 2}})
The function `_precision_with_base_2` exists, but no method is defined for this combination of argument types.

Closest candidates are:
_precision_with_base_2(::BigFloat)
@ Base mpfr.jl:957
_precision_with_base_2(::Type{BigFloat})
@ Base mpfr.jl:962
_precision_with_base_2(::Type{Float64})
@ Base float.jl:872
...

Stacktrace:
[1] _precision(x::Type, base::Int64)
@ Base ./float.jl:875
[2] precision(::Type{MultiFloat{Float64, 2}}; base::Int64)
@ Base ./float.jl:878
[3] precision(::Type{MultiFloat{Float64, 2}})
@ Base ./float.jl:878
[4] log10(x::MultiFloat{Float64, 2})
@ MultiFloats ~/.julia/packages/MultiFloats/JtImH/src/MultiFloats.jl:1465
[5] top-level scope
@ REPL[10]:1

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions