-
-
Notifications
You must be signed in to change notification settings - Fork 837
feat: add math/base/tools/normhermitepolyf
#2151
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
Conversation
lib/node_modules/@stdlib/math/base/tools/normhermitepolyf/test/fixtures/python/runner.py
Outdated
Show resolved
Hide resolved
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.
Left one comment; otherwise this looks all good to me. Thank you for working on this!
lib/node_modules/@stdlib/math/base/tools/normhermitepolyf/test/fixtures/python/runner.py
Outdated
Show resolved
Hide resolved
Hi @Planeshifter @kgryte , I've converted Initially I used Please review it again when you are convenient, thanks for your time and support! |
lib/node_modules/@stdlib/math/base/tools/normhermitepolyf/test/fixtures/python/runner.py
Show resolved
Hide resolved
@daniel777y Not sure I follow on "test cases can be so small that the variables can be Infinity and thus NaN". |
Hi, @kgryte . The failures are mainly from The process is in the middle of the calculation, some for ( i = n; i > 1; i-- ) {
s1 = float64ToFloat32( x * y2 );
s2 = float64ToFloat32( i * y3 );
y1 = float64ToFloat32( s1 - s2 );
y3 = y2;
y2 = y1;
} What is the best practice to deal with this issue? |
@daniel777y After looking at the code, your reasoning is sound. Fine with how you adjusted things. |
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.
LGTM. Thanks, @daniel777y!
@kgryte Thank you! I learned a lot from it, and look forward to working more on this community! |
Description
This pull request:
math/base/tools/normhermitepolyf
, which is the single precision equivalent formath/base/tools/normhermitepoly
.Related Issues
This pull request:
math/base/tools/normhermitepolyf
#2029Questions
No.
Other
No.
Checklist
@stdlib-js/reviewers