Skip to content

kleinj does not work always #24

Description

@gufrei

I made some test calculations with the kleinj function. It does not work for some numbers near the real axis. e.g.

julia> kleinj(1+0.01im)
NaN + NaN*im

while kleinj(0.01im) works (both should be the same value). Another example

julia> kleinj(0.005025125628140614 + 0.001im )
NaN + NaN*im

while kleinj(0.005+ 0.001im ) produces a result. Plotting a color-coded phase plot of the function has visible errors near -1,0, and 1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions