Skip to content

Potential typo in CosΒ #8

@gregsdennis

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.

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