Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

feat: add math/base/special/gamma-lanczos-sumf #6094

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

Draft
wants to merge 4 commits into
base: develop
Choose a base branch
Loading
from

Conversation

Neerajpathak07
Copy link
Member

Progresses #649 .

Description

What is the purpose of this pull request?

This pull request:

  • adds math/base/special/gamma-lanczos-sumf which is the single-precision version of gamma-lanczos-sum

Related Issues

Does this pull request have any related issues?

This pull request:

Questions

Any questions for reviewers of this pull request?

No.

Other

Any other information relevant to this pull request? This may include screenshots, references, and/or implementation notes.

No.

Checklist

Please ensure the following tasks are completed before submitting this pull request.


@stdlib-js/reviewers

@stdlib-bot stdlib-bot added the Math Issue or pull request specific to math functionality. label Mar 16, 2025
Comment on lines 61 to 62
expected = float64ToFloat32( gamma( x[i] ) );
expected /= float64ToFloat32( float64ToFloat32( pow( x[i]+G-0.5, x[i]-0.5 ) ) / float64ToFloat32( exp( x[i]+G-0.5 ) ) ); // eslint-disable-line max-len
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

have kept it this way till we have single-precision versions for pow, exp and gamma

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Math Issue or pull request specific to math functionality.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.