Skip to content

gamma(0) returns the wrong value. #411

@oscardssmith

Description

@oscardssmith

This issue is the opposite issue of #163. Currently gamma(0.0) returns Inf as does gamma(0.0+0.0im), and gamma(0.0-0.0im) This isn't the correct limit because

gamma(0. + 1e-16im)
0.6123233995736787 - 1.0000000000000034e16im

and

julia> gamma(0.0-1e-16im)
0.6123233995736787 + 1.0000000000000034e16im

which really makes it seem like gamma of complex 0s should return an appropriate complex infinity and gamma(0.0) should error.

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