Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cis/cispi without explicit uconvert (calls sincos/sincospi) #745

Merged
merged 6 commits into from
Nov 17, 2024

Conversation

sostock
Copy link
Collaborator

@sostock sostock commented Oct 31, 2024

With this PR, cis calls sincos directly instead of converting to NoUnits first. This increases the accuracy if the argument is in degrees, since the lossy unit conversion is avoided (sincos calls sincosd if the argument is in degrees).

Closes #738.

Edit: Closes #450. Closes #452.

@sostock sostock merged commit b53bc81 into PainterQubits:master Nov 17, 2024
15 of 16 checks passed
@sostock sostock deleted the cis_accuracy branch November 17, 2024 10:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Base.cis operating on angles in degrees first converts to radians We have sincos, but no sincosd?
1 participant