Skip to content

wrap function broken #6

@odsfgolfdjng

Description

@odsfgolfdjng

function wrap(input mini maxi)

function wrap(input mini maxi) // the function declaration misses some ,
(
while (input < mini) (
input += mini; // creates infinte loop when 0 and i think it is wrong
);
while (input >= maxi) (
input -= maxi;
);
input;
);
Thank you very much for creating cookdsp it helped me a lot

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