Skip to content

feat: add C implementation for math/base/special/gamma-lanczos-sum-expg-scaled #1836

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

Closed
wants to merge 148 commits into from
Closed

feat: add C implementation for math/base/special/gamma-lanczos-sum-expg-scaled #1836

wants to merge 148 commits into from

Conversation

gunjjoshi
Copy link
Member

@gunjjoshi gunjjoshi commented Mar 11, 2024

Resolves #1835

Description

What is the purpose of this pull request?

This pull request:

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

@Planeshifter Planeshifter added Needs Review A pull request which needs code review. Native Addons Issue involves or relates to Node.js native add-ons. C Issue involves or relates to C. labels Mar 11, 2024
Signed-off-by: GUNJ JOSHI <[email protected]>
Signed-off-by: GUNJ JOSHI <[email protected]>
Signed-off-by: GUNJ JOSHI <[email protected]>
Signed-off-by: GUNJ JOSHI <[email protected]>
@kgryte kgryte added Feature Issue or pull request for adding a new feature. Math Issue or pull request specific to math functionality. labels Mar 11, 2024
} else {
ax = x;
}
if ( ax <= 1.0 ) {
Copy link
Member

Choose a reason for hiding this comment

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

Same comment as in #1834 (comment)

Copy link
Member

Choose a reason for hiding this comment

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

If the issue is L58, we should update evalrational-compile-c to handle infinities.

Copy link
Member Author

Choose a reason for hiding this comment

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

Thanks for these suggestions. Once we are done with the PR for gamma-lanczos-sum, then I will make changes according to that here, so that things aren't repetitive.

@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 12, 2024
Snehil-Shah and others added 17 commits March 21, 2024 15:50
Closes: #860
PR-URL: 	#1833
Co-authored-by: Athan Reines <[email protected]>
Reviewed-by: Athan Reines <[email protected]> 
Signed-off-by: Snehil Shah <[email protected]>
Signed-off-by: Athan Reines <[email protected]>
PR-URL: #1788
Closes: #41

---------

Signed-off-by: Sai Srikar Dumpeti <[email protected]>
Signed-off-by: Philipp Burckhardt <[email protected]>
Co-authored-by: Philipp Burckhardt <[email protected]>
Reviewed-by: Philipp Burckhardt <[email protected]>
PR-URL: #1754
Closes: #1642

---------

Signed-off-by: Philipp Burckhardt <[email protected]>
Co-authored-by: Philipp Burckhardt <[email protected]>
Reviewed-by: Philipp Burckhardt <[email protected]>
PR-URL: #1717

---------

Signed-off-by: Pranav <[email protected]>
Signed-off-by: Athan Reines <[email protected]>
Co-authored-by: Pranav <[email protected]>
Co-authored-by: Athan Reines <[email protected]>
Reviewed-by: Pranav <[email protected]>
Reviewed-by: Athan Reines <[email protected]>
Reviewed-by: Philipp Burckhardt <[email protected]>
PR-URL: #1774
Closes: #1637

---------

Signed-off-by: Philipp Burckhardt <[email protected]>
Co-authored-by: Philipp Burckhardt <[email protected]>
Reviewed-by: Philipp Burckhardt <[email protected]>
PR-URL: #1837

Signed-off-by: stdlib-bot <[email protected]>
Co-authored-by: Philipp Burckhardt <[email protected]>
Reviewed-by: Philipp Burckhardt <[email protected]>
PR-URL: #1838
Reviewed-by: Philipp Burckhardt <[email protected]>
PR-URL: #1841
Closes: #649

---------

Signed-off-by: GUNJ JOSHI <[email protected]>
Signed-off-by: Pranav <[email protected]>
Co-authored-by: Pranav <[email protected]>
Reviewed-by: Pranav <[email protected]>
PR-URL: #1840
Closes: #1420

---------

Signed-off-by: Rejoan Sardar <[email protected]>
Signed-off-by: Pranav <[email protected]>
Co-authored-by: Pranav <[email protected]>
Reviewed-by: Pranav <[email protected]>
Reviewed-by: Philipp Burckhardt <[email protected]>
PR-URL: #1827
Closes: #1815

---------

Signed-off-by: Rutam <[email protected]>
Signed-off-by: Pranav <[email protected]>
Co-authored-by: Pranav <[email protected]>
Reviewed-by: Pranav <[email protected]>
Reviewed-by: Philipp Burckhardt <[email protected]>
PR-URL: #1786
Closes: #39

---------

Signed-off-by: Sai Srikar Dumpeti <[email protected]>
Signed-off-by: Philipp Burckhardt <[email protected]>
Co-authored-by: stdlib-bot <[email protected]>
Co-authored-by: Philipp Burckhardt <[email protected]>
Reviewed-by: Philipp Burckhardt <[email protected]>
PR-URL: #1785
Closes: #43

---------

Signed-off-by: Sai Srikar Dumpeti <[email protected]>
Signed-off-by: Philipp Burckhardt <[email protected]>
Co-authored-by: Philipp Burckhardt <[email protected]>
Reviewed-by: Philipp Burckhardt <[email protected]>
PR-URL: #1789
Closes: #42

---------

Signed-off-by: Sai Srikar Dumpeti <[email protected]>
Reviewed-by: Philipp Burckhardt <[email protected]>
PR-URL: #1787
Closes: #38

---------

Signed-off-by: Sai Srikar Dumpeti <[email protected]>
Signed-off-by: Philipp Burckhardt <[email protected]>
Co-authored-by: Philipp Burckhardt <[email protected]>
Co-authored-by: stdlib-bot <[email protected]>
Reviewed-by: Philipp Burckhardt <[email protected]>
PR-URL: 	#1843
Reviewed-by: Athan Reines <[email protected]>
Signed-off-by: stdlib-bot <[email protected]>
Co-authored-by: Philipp Burckhardt <[email protected]>
gunjjoshi and others added 25 commits March 21, 2024 15:50
PR-URL: 	#1834
Closes: #1822
Ref: #649
Co-authored-by: Athan Reines <[email protected]>
Reviewed-by: Athan Reines <[email protected]>
…ventions

PR-URL: 	#1864
Closes: #1516
Ref: #1152
Co-authored-by: Athan Reines <[email protected]>
Reviewed-by: Athan Reines <[email protected]>
PR-URL: #1972

Signed-off-by: stdlib-bot <[email protected]>
Co-authored-by: Athan Reines <[email protected]>
Reviewed-by: Philipp Burckhardt <[email protected]>
PR-URL: #1945
Closes: #1519

---------

Signed-off-by: Bryan Elee <[email protected]>
Co-authored-by: Philipp Burckhardt <[email protected]>
Reviewed-by: Philipp Burckhardt <[email protected]>
…onventions

PR-URL: #1929
Closes: #1520

---------

Signed-off-by: Pranav <[email protected]>
Signed-off-by: Philipp Burckhardt <[email protected]>
Co-authored-by: Pranav <[email protected]>
Co-authored-by: Philipp Burckhardt <[email protected]>
Reviewed-by: Pranav Goswami <[email protected]>
Reviewed-by: Philipp Burckhardt <[email protected]>
PR-URL: #1974

Signed-off-by: stdlib-bot <[email protected]>
Co-authored-by: Philipp Burckhardt <[email protected]> 
Reviewed-by: Philipp Burckhardt <[email protected]>
…ntions

PR-URL: 	#1954
Closes: #1464
Ref: #1152
Co-authored-by: Athan Reines <[email protected]>
Reviewed-by: Athan Reines <[email protected]> 
Signed-off-by: Athan Reines <[email protected]>
…nventions

PR-URL: 	#1850
Closes: #1510
Ref: #1152
Co-authored-by: Athan Reines <[email protected]>
Co-authored-by: Pranav Goswami <[email protected]>
Reviewed-by: Athan Reines <[email protected]>
Reviewed-by: Pranav Goswami <[email protected]>
Signed-off-by: GUNJ JOSHI <[email protected]>
Signed-off-by: Pranav Goswami <[email protected]>
Signed-off-by: Athan Reines <[email protected]>
PR-URL: 	#1975
Co-authored-by: Athan Reines <[email protected]>
Reviewed-by: Athan Reines <[email protected]> 
Signed-off-by: stdlib-bot <[email protected]>
PR-URL: 	#1973
Co-authored-by: Athan Reines <[email protected]>
Reviewed-by: Athan Reines <[email protected]> 
Signed-off-by: stdlib-bot <[email protected]>
…ntions

PR-URL: 	#1824
Closes: #1509
Ref: #1152
Co-authored-by: Athan Reines <[email protected]>
Reviewed-by: Athan Reines <[email protected]> 
Signed-off-by: Athan Reines <[email protected]>
PR-URL: 	#1977
Co-authored-by: Athan Reines <[email protected]>
Reviewed-by: Athan Reines <[email protected]> 
Signed-off-by: stdlib-bot <[email protected]>
@gunjjoshi
Copy link
Member Author

I will be opening a new pull request for this one, everything is getting mixed up here. Closing this for now.

@gunjjoshi gunjjoshi closed this Mar 21, 2024
@gunjjoshi gunjjoshi deleted the gamma-lanczos-sum-expg-scaled branch March 21, 2024 12:50
@gunjjoshi gunjjoshi restored the gamma-lanczos-sum-expg-scaled branch March 21, 2024 12:50
@gunjjoshi gunjjoshi deleted the gamma-lanczos-sum-expg-scaled branch March 21, 2024 16:33
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. Needs Changes Pull request which needs changes before being merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[RFC]: add C implementation for @stdlib/math/base/special/gamma-lanczos-sum-expg-scaled