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 math/base/special/lucasf #6223

Open
wants to merge 25 commits into
base: develop
Choose a base branch
from

Conversation

hrshya
Copy link
Contributor

@hrshya hrshya commented Mar 20, 2025

Resolves none .

Description

What is the purpose of this pull request?

This pull request:

  • adds math/base/special/lucasf .

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 Math Issue or pull request specific to math functionality. Needs Review A pull request which needs code review. labels Mar 20, 2025
@hrshya hrshya marked this pull request as draft March 20, 2025 09:09
@stdlib-bot stdlib-bot removed the Needs Review A pull request which needs code review. label Mar 20, 2025
@stdlib-bot
Copy link
Contributor

stdlib-bot commented Mar 20, 2025

Coverage Report

Package Statements Branches Functions Lines
math/base/special/lucasf $\color{green}224/224$
$\color{green}+100.00\%$
$\color{green}10/10$
$\color{green}+100.00\%$
$\color{green}2/2$
$\color{green}+100.00\%$
$\color{green}224/224$
$\color{green}+100.00\%$

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

@hrshya hrshya marked this pull request as ready for review March 20, 2025 11:40
@stdlib-bot stdlib-bot added the Needs Review A pull request which needs code review. label Mar 20, 2025
Signed-off-by: Harsh <[email protected]>
@hrshya
Copy link
Contributor Author

hrshya commented Mar 22, 2025

@anandkaranubc could you please review this PR?

@anandkaranubc anandkaranubc self-requested a review March 22, 2025 19:24
Signed-off-by: Harsh <[email protected]>
@anandkaranubc anandkaranubc changed the title feat: add math/base/special/lucasf feat: add math/base/special/lucasf Mar 23, 2025
@kgryte
Copy link
Member

kgryte commented Apr 2, 2025

@anandkaranubc Would you mind taking a look at this PR?

@anandkaranubc
Copy link
Contributor

/stdlib merge

@stdlib-bot stdlib-bot added the bot: In Progress Pull request is currently awaiting automation. label Apr 5, 2025
@stdlib-bot stdlib-bot removed the bot: In Progress Pull request is currently awaiting automation. label Apr 5, 2025
Copy link
Contributor

@anandkaranubc anandkaranubc left a comment

Choose a reason for hiding this comment

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

Hi @hrshya, thanks for your work on this! I’ve added some comments on the PR. A few areas need improvement.


#### lucasf( n )

Computes the nth [Lucas number][lucas-number] in single-precision floating-point format.
Copy link
Contributor

Choose a reason for hiding this comment

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

Same comment

<!-- eslint no-undef: "error" -->

```javascript
var lucasf = require( '@stdlib/math/base/special/lucasf' );
Copy link
Contributor

Choose a reason for hiding this comment

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

This should also be refactored to use logEachMap


#### stdlib_base_lucasf( n )

Computes the nth [Lucas number][lucas-number] in single-precision floating-point format.
Copy link
Contributor

Choose a reason for hiding this comment

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

Same comment

@anandkaranubc anandkaranubc added JavaScript Issue involves or relates to JavaScript. C Issue involves or relates to C. Needs Changes Pull request which needs changes before being merged. and removed Needs Review A pull request which needs code review. labels Apr 5, 2025
hrshya and others added 14 commits April 5, 2025 16:45
…native/benchmark.c

Co-authored-by: Karan Anand <[email protected]>
Signed-off-by: Harsh <[email protected]>
…native/benchmark.c

Co-authored-by: Karan Anand <[email protected]>
Signed-off-by: Harsh <[email protected]>
…native/benchmark.c

Co-authored-by: Karan Anand <[email protected]>
Signed-off-by: Harsh <[email protected]>
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. JavaScript Issue involves or relates to JavaScript. Math Issue or pull request specific to math functionality. Needs Changes Pull request which needs changes before being merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants