Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Besseli() no longer works #66

Open
kagalenko-m-b opened this issue Mar 11, 2024 · 2 comments
Open

Besseli() no longer works #66

kagalenko-m-b opened this issue Mar 11, 2024 · 2 comments

Comments

@kagalenko-m-b
Copy link

After upgrading ArbNumerics to v.1.5,

> besseli(0, ArbFloat(1))
ERROR: MethodError: no method matching ArbNumerics.ArbFloat{280}(::ArbNumerics.ArbReal{280}, ::Int64)

Closest candidates are:
  ArbNumerics.ArbFloat{P}(::ArbNumerics.ArbReal{P}) where P
   @ ArbNumerics ~/.julia/packages/ArbNumerics/P6pM4/src/values/intraconvert.jl:77
  ArbNumerics.ArbFloat{P}(::ArbNumerics.ArbReal{P}, ::Type{ArbNumerics.UpperBound}) where P
   @ ArbNumerics ~/.julia/packages/ArbNumerics/P6pM4/src/values/intraconvert.jl:79
  ArbNumerics.ArbFloat{P}(::ArbNumerics.ArbReal{P}, ::Type{ArbNumerics.LowerBound}) where P
   @ ArbNumerics ~/.julia/packages/ArbNumerics/P6pM4/src/values/intraconvert.jl:87
  ...

Stacktrace:
 [1] besseli(nu::ArbNumerics.ArbFloat{280}, x::ArbNumerics.ArbFloat{280}, prec::Int64)
   @ ArbNumerics ~/.julia/packages/ArbNumerics/P6pM4/src/float/bessel.jl:29
 [2] besseli(nu::ArbNumerics.ArbFloat{280}, x::ArbNumerics.ArbFloat{280})
   @ ArbNumerics ~/.julia/packages/ArbNumerics/P6pM4/src/float/bessel.jl:29
 [3] top-level scope
   @ REPL[81]:1

@JeffreySarnoff
Copy link
Owner

hmm that is unexpected ..

@JeffreySarnoff
Copy link
Owner

JeffreySarnoff commented Mar 11, 2024

Meanwhile

julia>  besseli(0,ArbReal(1.0))
1.2660658777520083355982446252147175376


julia> besseli(0.0,ArbReal{4000}(1))
1.266065877752008335598244625214717537607670311354962206808135331213575016122775470394818357
1472801018710361346890561387866044362393033515852308035320408747903825409142441362953734395
7256009955459264383832271986915605884922065483773045588820758713779340668166031658685993963
3883248110710860751436113421585189289683253429128205709547394684710218034053224574847289856
0854131259106642658548604195367639341333223979480614684305692685754274714767682397625875890
6117320596729093982679033295724973215966185168322561055839655503117710975500086489271555021
0411579477799711834563784613762594230912578484635777898979512450603912961276423561092378814
9622197796272572783997290582661798855921934986884588105467819108189513270932916473590886855
6956988911688826868660749043881735671795760994411022111990418107019660015851175051801470810
2643583422608605829205092794222822476706490787091428680866060460882929811476160912985868103
2317115145655251964278917753770608430742962798758423581694499462368974634519796314080093638
3317687284433200851543681033772408836875766587281334180427235741276862649503822247152900738
0731248455067300756558015030781055815680099977604156116932269548769245301097025781917725462
475518848893715739744

I will dig into this. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants