Skip to content

Wrong gegenbauer(2,-1,x) results #461

@yixin-09

Description

@yixin-09

The gegenbauer(2,-1,x) should return 1.0 for any given x
due to its formula, however, in mpmath, it return 0.0 for any given x.

For example:
mp.dps = 200
print gegenbauer(2,-1.0, 27397079.00297188)

Output is:
0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions