Skip to content

[RFC]: Add C implementation for @stdlib/math/base/special/pow #1656

Closed

Description

@Pranavchiku

Description

This RFC proposes adding native C implementation for @stdlib/math/base/special/pow.

double stdlib_base_pow( const double b, const double x )

Related Issues

None.

Questions

No.

Other

No.

Checklist

  • I have read and understood the Code of Conduct.
  • Searched for existing issues and pull requests.
  • The issue name begins with RFC:.

Activity

  1. added
    RFCRequest for comments. Feature requests and proposed changes.
    FeatureIssue or pull request for adding a new feature.
    difficulty: 3Likely to be challenging but manageable.
    MathIssue or pull request specific to math functionality.
    Native AddonsIssue involves or relates to Node.js native add-ons.
    priority: HighHigh priority concern or feature request.
    CIssue involves or relates to C.
    on Mar 3, 2024
  2. Pranavchiku commented on Mar 3, 2024

    @Pranavchiku
    MemberAuthor

    Implementing this will unblock a lot of packages, but it will take some time and is on a difficult side. Requesting new comers to avoid unless they have added C implementation for atleast 5 math functions ( feel confident enough ).

  3. Pratik772846 commented on Mar 3, 2024

    @Pratik772846
    Contributor

    @Pranavchiku I would like to work on this issue.

  4. aman-095 commented on Mar 3, 2024

    @aman-095
    Member

    Hey, @Pranavchiku I have added C implementations for a few math functions, and I have a fair understanding of the code flow. I would like to contribute to this issue. 

  5. Pranavchiku commented on Mar 3, 2024

    @Pranavchiku
    MemberAuthor

    @Pratik772846 you may feel free to pick over any of easy math packages, this will be tricky for you at moment. I'll let @aman-095 give a shot to this.

  6. aman-095 commented on Mar 3, 2024

    @aman-095
    Member

    I have implementation ready for this, but it requires C implementation of is-even and is-odd functions. Should I go ahead and implement these two as well?

  7. Pranavchiku commented on Mar 3, 2024

    @Pranavchiku
    MemberAuthor

    Ahh, I might have missed out checking those, it will be fairly simple, proceed and get those done.

  8. gunjjoshi commented on Mar 18, 2024

    @gunjjoshi
    Member

    Hey @aman-095, are you still working on this ?

  9. aman-095 commented on Mar 18, 2024

    @aman-095
    Member

    Yes @gunjjoshi , I am working on this.

  10. added a commit that references this issue on Jun 19, 2024
    4a0235a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

CIssue involves or relates to C.FeatureIssue or pull request for adding a new feature.MathIssue or pull request specific to math functionality.Native AddonsIssue involves or relates to Node.js native add-ons.RFCRequest for comments. Feature requests and proposed changes.difficulty: 3Likely to be challenging but manageable.priority: HighHigh priority concern or feature request.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions