Skip to content

Potential typo in Cos #8

Description

@gregsdennis

In Cos.CosProc() should

if (n == 2)
{
    if (Mod(k, 2) == 1) return 0;
}

be

if (n == 2)
{
    if (Mod(k, 4) == 1) return 0;
}

?

This would match the pattern of modding by n*2 and the Sin.SinProc() method.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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