-
-
Notifications
You must be signed in to change notification settings - Fork 794
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 C implementation for math/base/special/rempio2
#2279
Conversation
Signed-off-by: GUNJ JOSHI <[email protected]>
Signed-off-by: GUNJ JOSHI <[email protected]>
Signed-off-by: GUNJ JOSHI <[email protected]>
I was getting failure in some of the test cases. I have referred to FreeBSD version
Specifically, if we can check |
Signed-off-by: GUNJ JOSHI <[email protected]>
Signed-off-by: GUNJ JOSHI <[email protected]>
Signed-off-by: GUNJ JOSHI <[email protected]>
lib/node_modules/@stdlib/math/base/special/rempio2/manifest.json
Outdated
Show resolved
Hide resolved
lib/node_modules/@stdlib/math/base/special/rempio2/manifest.json
Outdated
Show resolved
Hide resolved
Co-authored-by: Philipp Burckhardt <[email protected]> Signed-off-by: GUNJ JOSHI <[email protected]>
Co-authored-by: Philipp Burckhardt <[email protected]> Signed-off-by: GUNJ JOSHI <[email protected]>
Signed-off-by: GUNJ JOSHI <[email protected]>
Signed-off-by: GUNJ JOSHI <[email protected]>
…/gunjjoshi/2279
@gunjjoshi I refactored the addon (see 0df78ac). Tests now pass; however, results for C and JS differ. Currently, if provided |
Great, thanks for the help! I'll go through the implementation once more to check everything. |
Signed-off-by: GUNJ JOSHI <[email protected]>
@kgryte I was able to track down the problem. This was because in the After the changes, both the implementations give the same result for Also, the lint error that we currently have is arising due to two similar |
Signed-off-by: Athan <[email protected]>
Signed-off-by: GUNJ JOSHI <[email protected]>
Signed-off-by: GUNJ JOSHI <[email protected]>
Signed-off-by: GUNJ JOSHI <[email protected]>
There is a lint error saying the arrays are uninitialized. So, should we initialize them with zeros at the time of declaration directly, or should we declare them first, then initialize them with zeros using a |
@gunjjoshi I'd go ahead and initialize with zeros at the time of declaration. |
Signed-off-by: GUNJ JOSHI <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's get this in to unblock additional C implementation work. Will merge once CI has passed.
Thanks, @gunjjoshi, for your work on it!
Thanks @Planeshifter @kgryte for helping in this. |
PR-URL: stdlib-js#2279 Ref: stdlib-js#649 --------- Signed-off-by: GUNJ JOSHI <[email protected]> Signed-off-by: Athan Reines <[email protected]> Co-authored-by: Philipp Burckhardt <[email protected]> Co-authored-by: Athan Reines <[email protected]> Reviewed-by: Philipp Burckhardt <[email protected]> Reviewed-by: Athan Reines <[email protected]>
PR-URL: stdlib-js#2279 Ref: stdlib-js#649 --------- Signed-off-by: GUNJ JOSHI <[email protected]> Signed-off-by: Athan Reines <[email protected]> Co-authored-by: Philipp Burckhardt <[email protected]> Co-authored-by: Athan Reines <[email protected]> Reviewed-by: Philipp Burckhardt <[email protected]> Reviewed-by: Athan Reines <[email protected]>
Description
This pull request:
math/base/special/rempio2
.Related Issues
This pull request:
Questions
No.
Other
This is a draft PR, to discuss the implementation.
Checklist
@stdlib-js/reviewers