Skip to content

Add gamma(::Complex{BigFloat}) #440

@MikaelSlevinsky

Description

@MikaelSlevinsky

Current output on v2.2.0:

julia> using SpecialFunctions

julia> gamma(big(1)+im)
ERROR: MethodError: no method matching _loggamma(::Complex{BigFloat})
Closest candidates are:
  _loggamma(::Number, ::Number) at ~/.julia/packages/SpecialFunctions/gXPNz/src/gamma_inc.jl:1175
  _loggamma(::ComplexF16) at ~/.julia/packages/SpecialFunctions/gXPNz/src/gamma.jl:522
  _loggamma(::ComplexF32) at ~/.julia/packages/SpecialFunctions/gXPNz/src/gamma.jl:522
  ...
Stacktrace:
 [1] loggamma(x::Complex{BigFloat})
   @ SpecialFunctions ~/.julia/packages/SpecialFunctions/gXPNz/src/gamma.jl:634
 [2] _gamma(z::Complex{BigFloat})
   @ SpecialFunctions ~/.julia/packages/SpecialFunctions/gXPNz/src/gamma.jl:589
 [3] gamma(x::Complex{BigInt})
   @ SpecialFunctions ~/.julia/packages/SpecialFunctions/gXPNz/src/gamma.jl:567
 [4] top-level scope
   @ REPL[28]:1

julia> 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions