-
-
Notifications
You must be signed in to change notification settings - Fork 486
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/lcmf
#3096
base: develop
Are you sure you want to change the base?
Conversation
@gunjjoshi I've worked on this package |
math/base/special/lcmf
Co-authored-by: Gunj Joshi <[email protected]> Signed-off-by: Harsh Mathur <[email protected]>
Co-authored-by: Gunj Joshi <[email protected]> Signed-off-by: Harsh Mathur <[email protected]>
Co-authored-by: Gunj Joshi <[email protected]> Signed-off-by: Harsh Mathur <[email protected]>
@gunjjoshi I've done changes as requested by you |
lib/node_modules/@stdlib/math/base/special/lcmf/benchmark/c/benchmark.c
Outdated
Show resolved
Hide resolved
Co-authored-by: Gunj Joshi <[email protected]> Signed-off-by: Harsh Mathur <[email protected]>
…nchmark.c Co-authored-by: Gunj Joshi <[email protected]> Signed-off-by: Harsh Mathur <[email protected]>
Replaced rand_int from rand_double as mentioned across other files Signed-off-by: Harsh Mathur <[email protected]>
Signed-off-by: Harsh Mathur <[email protected]>
Signed-off-by: Harsh Mathur <[email protected]>
Co-authored-by: Gunj Joshi <[email protected]> Signed-off-by: Harsh Mathur <[email protected]>
resolved import errors Signed-off-by: Harsh Mathur <[email protected]>
resolved copy-paste error Signed-off-by: Harsh Mathur <[email protected]>
@gunjjoshi Following issues were resolved. |
Co-authored-by: Gunj Joshi <[email protected]> Signed-off-by: Harsh Mathur <[email protected]>
Co-authored-by: Gunj Joshi <[email protected]> Signed-off-by: Harsh Mathur <[email protected]>
replaced space with tab indentation Signed-off-by: Harsh Mathur <[email protected]>
Signed-off-by: Harsh Mathur <[email protected]>
Co-authored-by: Gunj Joshi <[email protected]> Signed-off-by: Harsh Mathur <[email protected]>
Co-authored-by: Gunj Joshi <[email protected]> Signed-off-by: Harsh Mathur <[email protected]>
Signed-off-by: Harsh Mathur <[email protected]>
@@ -0,0 +1,77 @@ | |||
/** |
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.
Same goes for this too, we should follow the JS implementation of math/base/special/lcm
here.
// MAIN // | ||
|
||
/** | ||
* Computes the least common multiple (LCM) of two floating-point numbers. |
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.
Here too, the description should match with what we have everywhere else.
* @private | ||
* @param {number} a - first floating-point number | ||
* @param {number} b - second floating-point number | ||
* @returns {number} least common multiple of `a` and `b` |
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.
This should be changed as well.
@Harsh-Mathur-1503 You can once refer |
Signed-off-by: Harsh Mathur <[email protected]>
Co-authored-by: Gunj Joshi <[email protected]> Signed-off-by: Harsh Mathur <[email protected]>
Co-authored-by: Gunj Joshi <[email protected]> Signed-off-by: Harsh Mathur <[email protected]>
Resolvesa part of #649.
Description
This pull request:
math/base/special/lcmf
.Related Issues
This pull request:
Questions
No.
Other
Open to reviews.
Checklist
@stdlib-js/reviewers