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 native addon to ceiln and cceiln #988

Merged
merged 20 commits into from
Sep 23, 2023
Merged

feat: add native addon to ceiln and cceiln #988

merged 20 commits into from
Sep 23, 2023

Conversation

steff456
Copy link
Contributor

Part of https://github.com/stdlib-js/todo/issues/1454

Description

What is the purpose of this pull request?

This pull request:

For ceiln API:

  • Adds C implementation
  • Adds native addon with benchmark, tests, examples and readme update

For cceiln API:

  • Removes out keyword
  • Adds support for Complex128 dtype
  • Adds C implementation
  • Adds native addon with benchmark, tests, examples and readme update

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

@steff456 steff456 added Math Issue or pull request specific to math functionality. Native Addons Issue involves or relates to Node.js native add-ons. labels Mar 29, 2023
@steff456 steff456 requested a review from kgryte March 29, 2023 15:47
@steff456 steff456 self-assigned this Mar 29, 2023
@stdlib-bot
Copy link
Contributor

Coverage Report

Package Statements Branches Functions Lines
math/base/special/cceiln $\color{red}262/266$
$\color{green}+98.50\%$
$\color{green}4/4$
$\color{green}+100.00\%$
$\color{red}1/2$
$\color{green}+50.00\%$
$\color{red}262/266$
$\color{green}+98.50\%$
math/base/special/ceiln $\color{red}269/272$
$\color{green}+98.90\%$
$\color{green}23/23$
$\color{green}+100.00\%$
$\color{red}1/2$
$\color{green}+50.00\%$
$\color{red}269/272$
$\color{green}+98.90\%$

The above coverage report was generated for the changes in this PR.

@stdlib-bot
Copy link
Contributor

Coverage Report

Package Statements Branches Functions Lines
math/base/special/cceiln $\color{red}262/266$
$\color{green}+98.50\%$
$\color{green}4/4$
$\color{green}+100.00\%$
$\color{red}1/2$
$\color{green}+50.00\%$
$\color{red}262/266$
$\color{green}+98.50\%$
math/base/special/ceiln $\color{red}269/272$
$\color{green}+98.90\%$
$\color{green}23/23$
$\color{green}+100.00\%$
$\color{red}1/2$
$\color{green}+50.00\%$
$\color{red}269/272$
$\color{green}+98.90\%$

The above coverage report was generated for the changes in this PR.

@stdlib-bot
Copy link
Contributor

Coverage Report

Package Statements Branches Functions Lines
math/base/special/cceiln $\color{red}262/266$
$\color{green}+98.50\%$
$\color{green}4/4$
$\color{green}+100.00\%$
$\color{red}1/2$
$\color{green}+50.00\%$
$\color{red}262/266$
$\color{green}+98.50\%$
math/base/special/ceiln $\color{red}269/272$
$\color{green}+98.90\%$
$\color{green}23/23$
$\color{green}+100.00\%$
$\color{red}1/2$
$\color{green}+50.00\%$
$\color{red}269/272$
$\color{green}+98.90\%$

The above coverage report was generated for the changes in this PR.

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.

@steff456 Looks like we still need to make some changes in the C implementation. Left comments. This should all be straightforward. Once addressed, I think this should be ready to merge.

@stdlib-bot
Copy link
Contributor

Coverage Report

Package Statements Branches Functions Lines
math/base/special/cceiln $\color{green}266/266$
$\color{green}+100.00\%$
$\color{green}5/5$
$\color{green}+100.00\%$
$\color{green}2/2$
$\color{green}+100.00\%$
$\color{green}266/266$
$\color{green}+100.00\%$
math/base/special/ceiln $\color{green}272/272$
$\color{green}+100.00\%$
$\color{green}24/24$
$\color{green}+100.00\%$
$\color{green}2/2$
$\color{green}+100.00\%$
$\color{green}272/272$
$\color{green}+100.00\%$

The above coverage report was generated for the changes in this PR.

@stdlib-bot
Copy link
Contributor

Coverage Report

Package Statements Branches Functions Lines
math/base/special/cceiln $\color{red}262/266$
$\color{green}+98.50\%$
$\color{green}4/4$
$\color{green}+100.00\%$
$\color{red}1/2$
$\color{green}+50.00\%$
$\color{red}262/266$
$\color{green}+98.50\%$
math/base/special/ceiln $\color{red}269/272$
$\color{green}+98.90\%$
$\color{green}23/23$
$\color{green}+100.00\%$
$\color{red}1/2$
$\color{green}+50.00\%$
$\color{red}269/272$
$\color{green}+98.90\%$

The above coverage report was generated for the changes in this PR.

@stdlib-bot
Copy link
Contributor

Coverage Report

Package Statements Branches Functions Lines
math/base/special/cceiln $\color{green}266/266$
$\color{green}+100.00\%$
$\color{green}5/5$
$\color{green}+100.00\%$
$\color{green}2/2$
$\color{green}+100.00\%$
$\color{green}266/266$
$\color{green}+100.00\%$
math/base/special/ceiln $\color{green}272/272$
$\color{green}+100.00\%$
$\color{green}24/24$
$\color{green}+100.00\%$
$\color{green}2/2$
$\color{green}+100.00\%$
$\color{green}272/272$
$\color{green}+100.00\%$

The above coverage report was generated for the changes in this PR.

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. Will merge once CI passes.

@stdlib-bot
Copy link
Contributor

Coverage Report

Package Statements Branches Functions Lines
math/base/special/cceiln $\color{green}266/266$
$\color{green}+100.00\%$
$\color{green}5/5$
$\color{green}+100.00\%$
$\color{green}2/2$
$\color{green}+100.00\%$
$\color{green}266/266$
$\color{green}+100.00\%$
math/base/special/ceiln $\color{green}272/272$
$\color{green}+100.00\%$
$\color{green}24/24$
$\color{green}+100.00\%$
$\color{green}2/2$
$\color{green}+100.00\%$
$\color{green}272/272$
$\color{green}+100.00\%$

The above coverage report was generated for the changes in this PR.

@stdlib-bot
Copy link
Contributor

Coverage Report

Package Statements Branches Functions Lines
math/base/special/cceiln $\color{green}266/266$
$\color{green}+100.00\%$
$\color{green}5/5$
$\color{green}+100.00\%$
$\color{green}2/2$
$\color{green}+100.00\%$
$\color{green}266/266$
$\color{green}+100.00\%$
math/base/special/ceiln $\color{green}272/272$
$\color{green}+100.00\%$
$\color{green}24/24$
$\color{green}+100.00\%$
$\color{green}2/2$
$\color{green}+100.00\%$
$\color{green}272/272$
$\color{green}+100.00\%$

The above coverage report was generated for the changes in this PR.

@stdlib-bot
Copy link
Contributor

Coverage Report

Package Statements Branches Functions Lines
math/base/special/cceiln $\color{green}266/266$
$\color{green}+100.00\%$
$\color{green}5/5$
$\color{green}+100.00\%$
$\color{green}2/2$
$\color{green}+100.00\%$
$\color{green}266/266$
$\color{green}+100.00\%$
math/base/special/ceiln $\color{green}272/272$
$\color{green}+100.00\%$
$\color{green}24/24$
$\color{green}+100.00\%$
$\color{green}2/2$
$\color{green}+100.00\%$
$\color{green}272/272$
$\color{green}+100.00\%$

The above coverage report was generated for the changes in this PR.

@kgryte kgryte merged commit 141b0fd into develop Sep 23, 2023
8 checks passed
@kgryte kgryte deleted the cceiln-addon branch September 23, 2023 19:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Math Issue or pull request specific to math functionality. Native Addons Issue involves or relates to Node.js native add-ons.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants