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

Fix: Update sin(), cos(), and tan() docs to respect angleMode() & cl… #7593

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

VANSH3104
Copy link

Resolves #7562
This PR updates the documentation for trigonometric functions (sin(), cos(), tan()) and the arc() function to correctly reflect their behavior with angleMode().
Changes:

Changes Made:
✅ Updated sin(), cos(), and tan() docs to specify that they respect angleMode(DEGREES).
✅ Clarified that arc() uses both radians and degrees depending on angleMode().
✅ Ensured consistency in documentation for trigonometric functions.

Screenshots of the change:

PR Checklist

@worthant
Copy link

worthant commented Mar 6, 2025

Nice job 👍

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.

arc() function docs say it only uses radians, but it actually listens to angleMode()
2 participants