Thanks to visit codestin.com
Credit goes to github.com

Skip to content

ENH: sinpi, cospi, asinpi, acospi, etc.: trigonometric functions in units of half turns #32603

Description

@lpsinger

Proposed new feature or change:

Alongside the trigonometric functions in units of radians (sin, cos, asin, acos, etc.), C23 and Python 3.16 now have trigonometric functions in units of half turns (sinpi, cospi, asinpi, acospi) which are intended to have reduced or no roundoff error for multiples of pi/4.

Is Numpy the correct place to propose adding these as ufuncs, or should one start at https://github.com/data-apis/array-api?

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions