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

feat: add C implementation for math/base/special/fast/abs #1894

Merged
merged 8 commits into from
Mar 16, 2024
Merged

feat: add C implementation for math/base/special/fast/abs #1894

merged 8 commits into from
Mar 16, 2024

Conversation

gunjjoshi
Copy link
Member

@gunjjoshi gunjjoshi commented Mar 15, 2024

Resolves a part of #1917 .

Description

What is the purpose of this pull request?

This pull request:

double stdlib_base_fast_abs( const double x )

Related Issues

Does this pull request have any related issues?

This pull request:

Questions

Any questions for reviewers of this pull request?

No.

Other

Any other information relevant to this pull request? This may include screenshots, references, and/or implementation notes.

No.

Checklist

Please ensure the following tasks are completed before submitting this pull request.


@stdlib-js/reviewers

@stdlib-bot stdlib-bot added the Math Issue or pull request specific to math functionality. label Mar 15, 2024
Signed-off-by: GUNJ JOSHI <gunjjoshi8372@gmail.com>
Signed-off-by: GUNJ JOSHI <gunjjoshi8372@gmail.com>
Signed-off-by: GUNJ JOSHI <gunjjoshi8372@gmail.com>
@Pranavchiku
Copy link
Member

Will have to discuss if this is needed and / or what can be suitable C API.

@Pranavchiku Pranavchiku added Feature Issue or pull request for adding a new feature. Needs Discussion Needs further discussion. Native Addons Issue involves or relates to Node.js native add-ons. C Issue involves or relates to C. labels Mar 15, 2024
@kgryte kgryte added Needs Review A pull request which needs code review. and removed Needs Discussion Needs further discussion. labels Mar 16, 2024
@kgryte
Copy link
Member

kgryte commented Mar 16, 2024

Adding a C implementation for the "fast" implementations is fine. Moving to "needs review".

Co-authored-by: Athan <kgryte@gmail.com>
Signed-off-by: GUNJ JOSHI <gunjjoshi8372@gmail.com>
Copy link
Member

@Pranavchiku Pranavchiku left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks @gunjjoshi !

@gunjjoshi please open an issue tracking C implementation for math/base/special/fast/*

@Pranavchiku Pranavchiku added Ready To Merge A pull request which is ready to be merged. and removed Needs Review A pull request which needs code review. labels Mar 16, 2024
@gunjjoshi
Copy link
Member Author

LGTM. Thanks @gunjjoshi !

@gunjjoshi please open an issue tracking C implementation for math/base/special/fast/*

Sure, I'll do that.

@Planeshifter Planeshifter merged commit f134dac into stdlib-js:develop Mar 16, 2024
8 checks passed
@gunjjoshi gunjjoshi deleted the fast-abs branch March 16, 2024 17:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C Issue involves or relates to C. Feature Issue or pull request for adding a new feature. Math Issue or pull request specific to math functionality. Native Addons Issue involves or relates to Node.js native add-ons. Ready To Merge A pull request which is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants