Skip to content

Support for sincos ? #41

@ax3l

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?

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