Skip to content

Conversation

@Pranavchiku
Copy link
Member

@Pranavchiku Pranavchiku commented Mar 4, 2024

Description

What is the purpose of this pull request?

This pull request adds C implementation for @stdlib/constants/int32/max

Related Issues

Does this pull request have any related issues?

Removes blocker for gcd, requested by @aman-095.

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

@Pranavchiku Pranavchiku added the C Issue involves or relates to C. label Mar 4, 2024
@Pranavchiku
Copy link
Member Author

Can I put a ready to merge for my PR? XD

@kgryte kgryte added Feature Issue or pull request for adding a new feature. Utilities Issue or pull request concerning general utilities. labels Mar 4, 2024
Signed-off-by: Athan <kgryte@gmail.com>
Copy link
Member

@kgryte kgryte 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, @Pranavchiku.

@kgryte kgryte merged commit 869def2 into stdlib-js:develop Mar 4, 2024
bad-in-coding pushed a commit to bad-in-coding/stdlib that referenced this pull request Mar 7, 2024
PR-URL: 	stdlib-js#1683
Co-authored-by: Athan Reines <kgryte@gmail.com>
Reviewed-by: Athan Reines <kgryte@gmail.com> 
Signed-off-by: Athan Reines <kgryte@gmail.com>
@performant23
Copy link
Contributor

Hi, just noticed that the C macros are not there for float16 and some integer and unsigned integer constants in @stdlib/constants. Would these be needed for any present/future C implementations? If so, happy to write some macros!

@kgryte
Copy link
Member

kgryte commented Mar 22, 2024

@performant23 I think the most high priority constants would be for float32. See https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/constants/float32/half-pi for an example. Feel free to submit PRs for constants which seem most relevant from float64 (e.g., apery, catalan, etc, are not high priority).

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. Utilities Issue or pull request concerning general utilities.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants