-
-
Notifications
You must be signed in to change notification settings - Fork 481
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
feat: add support for secant functionality math/base/special/sec
#2920
Conversation
Hello! Thank you for your contribution to stdlib. We noticed that the contributing guidelines acknowledgment is missing from your pull request. Here's what you need to do:
This acknowledgment confirms that you've read the guidelines, which include:
We can't review or accept contributions without this acknowledgment. Thank you for your understanding and cooperation. We look forward to reviewing your contribution! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👋 Hi there! 👋
And thank you for opening your first pull request! We will review it shortly. 🏃 💨
lib/node_modules/@stdlib/math/base/special/sec
lib/node_modules/@stdlib/math/base/special/sec
math/base/special/sec
@kgryte Are there any changes required? |
* | ||
* ## Notice | ||
* | ||
* The following copyright, license, and long comment were part of the original implementation available as part of [FreeBSD]{@link https://svnweb.freebsd.org/base/release/12.2.0/lib/msun/src/s_tan.c}. The implementation follows the original, but has been modified for JavaScript. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This doesn't actually point to the original implementation. This link is for kernel tan, not sec.
@AbhijitRaut04 I have no idea where you got the implementation. It looks like you copied from some other package. The implementation for this package should be trivial and is explicitly provided in #225. As such, this package needs several changes. |
Furthermore, given that tests and benchmarks are failing, it seems evident that you have not setup your local dev environment for linting, running tests, and running benchmarks. Please consult our contributing guide and our development guide. |
80cc6cc
to
93560b9
Compare
Resolves #225
Add the secant functionality using the existing cosine and sine functions.
The PR fullfills the purpose of calculating secant of a number.
This pull request:
This pull request:
Questions
What modifications should I make for this PR ?
Checklist
@stdlib-js/reviewers
@kgryte
@Planeshifter