Skip to content

A single method to rotate slices or vecs #65104

Open
@STPR

Description

@STPR

Hello,

I know there's already 2 methods to rotate slices or vec (rotate_right and rotate_left).
But they both accept unsigned numbers exclusively.

Why not a single method which could accept a signed number ?
A positive number would turn to the right and a negative one to the left

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-feature-requestCategory: A feature request, i.e: not implemented / a PR.T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions