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/assert/is-nonpositive-integer #1783

Merged
merged 3 commits into from
Mar 8, 2024

Conversation

aman-095
Copy link
Member

@aman-095 aman-095 commented Mar 8, 2024

Description

This RFC proposes adding native C implementation for @stdlib/math/base/assert/is-nonpositive-integer

bool stdlib_base_is_nonpositive_integer( const double x )

Related Issues

Does this pull request have any related issues?

None.

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

@aman-095 aman-095 changed the title feat: add c implementation for @stdlib/math/base/assert/is-nonpositive-integer feat: add c implementation for math/base/assert/is-nonpositive-integer Mar 8, 2024
@Planeshifter Planeshifter changed the title feat: add c implementation for math/base/assert/is-nonpositive-integer feat: add C implementation for math/base/assert/is-nonpositive-integer Mar 8, 2024
@Planeshifter Planeshifter added Needs Review A pull request which needs code review. Math Issue or pull request specific to math functionality. Native Addons Issue involves or relates to Node.js native add-ons. C Issue involves or relates to C. labels Mar 8, 2024
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.

small changes to be done before this PR will be ready to merge.

@Pranavchiku Pranavchiku added Needs Changes Pull request which needs changes before being merged. and removed Needs Review A pull request which needs code review. labels Mar 8, 2024
Signed-off-by: Pranav <85227306+Pranavchiku@users.noreply.github.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.

Looks good to me. Tested locally, everything works. Thanks @aman-095 !

@Pranavchiku Pranavchiku added Ready To Merge A pull request which is ready to be merged. and removed Needs Changes Pull request which needs changes before being merged. labels Mar 8, 2024
@Planeshifter Planeshifter merged commit 3c795b3 into stdlib-js:develop Mar 8, 2024
7 checks passed
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. 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.

3 participants