Skip to content

Support for sincos ? #41

Description

@ax3l

Hi,

I know it is not standard in C/C++, but popular stdlibs (e.g. gnu, SYCL, CUDA, etc.) provide an efficient implementation to calculate the sin and cos for an argument at the same time: sincos(arg) and sincospi(arg).

Would it be sensible to have support for sincos(arg) math in vir-simd, too? I checked the code and I think when it refers to sincos it means sin and cos functions separately, did I understand that right?

At the same time, I read reports like this and wonder what you think about vectorized versions of sincos?

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

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions