-
-
Notifications
You must be signed in to change notification settings - Fork 489
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/wrapf
#3055
base: develop
Are you sure you want to change the base?
Conversation
Hi @gunjjoshi, could you review this PR? Some checks are failing, need guidance for it. |
if ( vc < minc ) { | ||
vc += delta * ( stdlib_base_truncf( ( minc - vc ) / delta ) + 1.0 ); | ||
} | ||
return minc + ( fmodf( vc - minc, delta ) ); |
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.
@gururaj1512 The fmodf
which is being used here, is not being included at the top. We are currently missing the implementation of fmodf
. You'll need to include it once we have added fmodf
.
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.
@gunjjoshi, Thanks for clarifying
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.
@gururaj1512 fmodf
(added by @gunjjoshi in #3059) has now landed, so this branch can be rebased on the latest code on develop
and updated to make use of it.
PR-URL: #3059 Ref: #2997 Ref: #3055 Ref: #649 Co-authored-by: Philipp Burckhardt <[email protected]> Reviewed-by: Philipp Burckhardt <[email protected]> Signed-off-by: Gunj Joshi <[email protected]> Signed-off-by: Philipp Burckhardt <[email protected]>
PR-URL: stdlib-js#3059 Ref: stdlib-js#2997 Ref: stdlib-js#3055 Ref: stdlib-js#649 Co-authored-by: Philipp Burckhardt <[email protected]> Reviewed-by: Philipp Burckhardt <[email protected]> Signed-off-by: Gunj Joshi <[email protected]> Signed-off-by: Philipp Burckhardt <[email protected]>
resolves #649
Description
math/base/special/wrapf
, which would be the single-precision equivalent for math/base/special/wrap.Related Issues
This pull request:
Questions
No.
Other
No.
Checklist
@stdlib-js/reviewers