Skip to content

Spurious underflow in cyl_bessel_k #1229

Open
@jzmaddock

Description

@jzmaddock

cyl_bessel_k(100, 746) returns zero when evaluating at double precision (with no extended long double type), but the result should be 9.49147e-66.

Underflow occurs in k0 and k1 prior to iteration. The problem is also present if v is perturbed to be a non-integer in which case CF2_ik underflows.

Reduced test case from #1228.

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